From fd3f5d011fb99304402cbf3c1e8c596478316119 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Sat, 27 Oct 2018 11:10:26 -0500 Subject: tests: Add benchmark of streaming code paths Add a benchmark of packet handlers and device3 flow control. Benchmarks use mock transport objects. --- host/lib/usrp/device3/device3_flow_ctrl.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/usrp/device3/device3_flow_ctrl.hpp') diff --git a/host/lib/usrp/device3/device3_flow_ctrl.hpp b/host/lib/usrp/device3/device3_flow_ctrl.hpp index 4a7910f0f..50081543a 100644 --- a/host/lib/usrp/device3/device3_flow_ctrl.hpp +++ b/host/lib/usrp/device3/device3_flow_ctrl.hpp @@ -14,6 +14,8 @@ #include #include +namespace uhd { namespace usrp { + //! Stores the state of RX flow control struct rx_fc_cache_t { @@ -299,4 +301,6 @@ inline void tx_flow_ctrl_ack( fc_cache->fc_received = false; } +}}; + #endif /* INCLUDED_DEVICE3_FLOW_CTRL_HPP */ -- cgit v1.2.3