summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/uhd_simple_sink.h')
-rw-r--r--gr-uhd/lib/uhd_simple_sink.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_simple_sink.h b/gr-uhd/lib/uhd_simple_sink.h
index aad90d098..7f1596259 100644
--- a/gr-uhd/lib/uhd_simple_sink.h
+++ b/gr-uhd/lib/uhd_simple_sink.h
@@ -111,6 +111,12 @@ public:
virtual void set_clock_config(const uhd::clock_config_t &clock_config) = 0;
/*!
+ * Get the current time registers.
+ * \return the current usrp time
+ */
+ virtual uhd::time_spec_t get_time_now(void) = 0;
+
+ /*!
* Set the time registers asap.
* \param time_spec the new time
*/