diff options
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/radio_control.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/radio_control.hpp b/host/include/uhd/rfnoc/radio_control.hpp index ffa9b64fe..ab30be02c 100644 --- a/host/include/uhd/rfnoc/radio_control.hpp +++ b/host/include/uhd/rfnoc/radio_control.hpp @@ -65,6 +65,20 @@ public: virtual size_t get_spc() const = 0; /************************************************************************** + * Time-Related API Calls + *************************************************************************/ + /*! Get tick count + * \returns tick count + * \throws uhd::not_implemented_error if not implemented + */ + virtual uint64_t get_ticks_now() = 0; + /*! Get the time + * \returns time now + * \throws uhd::not_implemented_error if not implemented + */ + virtual uhd::time_spec_t get_time_now() = 0; + + /************************************************************************** * RF-Related API Calls *************************************************************************/ /*! Return a list of TX gain profiles for this radio |