From efd8e88859421c0a1876cbe850536dc28a21df69 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Sat, 25 May 2019 20:45:34 -0700 Subject: rfnoc: Added clock_iface to convey info about clocks The inteface provides a mechanism for users of clocks to query information such as the running status or rate --- host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp') diff --git a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp index afaa22306..29f4da7c2 100644 --- a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp +++ b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_endpoint.hpp @@ -38,8 +38,8 @@ public: virtual ctrlport_endpoint::sptr get_ctrlport_ep(uint16_t port, size_t buff_capacity, size_t max_outstanding_async_msgs, - double ctrl_clk_freq, - double timebase_freq) = 0; + const clock_iface& client_clk, + const clock_iface& timebase_clk) = 0; //! Returns the number of dropped packets due to misclassification virtual size_t get_num_drops() const = 0; -- cgit v1.2.3