From 09136828d4b1b6c9123651f9e2e1894ada436038 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Thu, 11 Oct 2018 16:34:22 -0500 Subject: uhd: Changes to traffic counter register names This makes the noc traffic counter register actually reflect the registers in the FPGA. The FPGA register names were changed prior to merging to master, and the ready count registers were removed. --- host/include/uhd/rfnoc/traffic_counter.hpp | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/traffic_counter.hpp b/host/include/uhd/rfnoc/traffic_counter.hpp index 4077596cd..bff04e38e 100644 --- a/host/include/uhd/rfnoc/traffic_counter.hpp +++ b/host/include/uhd/rfnoc/traffic_counter.hpp @@ -50,18 +50,14 @@ public: const char* counters[] = { "bus_clock_ticks", - "xbar_to_shell_last", - "xbar_to_shell_valid", - "xbar_to_shell_ready", - "shell_to_xbar_last", - "shell_to_xbar_valid", - "shell_to_xbar_ready", - "shell_to_ce_last", - "shell_to_ce_valid", - "shell_to_ce_ready", - "ce_to_shell_last", - "ce_to_shell_valid", - "ce_to_shell_ready"}; + "xbar_to_shell_xfer_count", + "xbar_to_shell_pkt_count", + "shell_to_xbar_xfer_count", + "shell_to_xbar_pkt_count", + "shell_to_ce_xfer_count", + "shell_to_ce_pkt_count", + "ce_to_shell_xfer_count", + "ce_to_shell_pkt_count"}; for (size_t i = 0; i < std::extent::value; i++) { tree->create(root_path/"traffic_counter"/counters[i]) -- cgit v1.2.3