From dc8f3c805126a64813663fd55e83f37c5324edb1 Mon Sep 17 00:00:00 2001 From: alexander Date: Wed, 14 Apr 2021 16:19:07 +0100 Subject: MLECO-1886: fixed AXI related PMU counters, they show beats not cycle counts. Updated profiling units and docs. Change-Id: Iaa2913d2bd6b10eb99a5059e12bb9fdaec188192 --- source/application/main/Profiler.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/application/main/Profiler.cc b/source/application/main/Profiler.cc index ce59d9c..0456ba4 100644 --- a/source/application/main/Profiler.cc +++ b/source/application/main/Profiler.cc @@ -101,7 +101,7 @@ namespace app { Statistics AXI0_RD { .name = "NPU AXI0_RD_DATA_BEAT_RECEIVED", - .unit = "cycles", + .unit = "beats", .total = 0, .avrg = 0.0, .min = series[0].axi0writes, @@ -109,7 +109,7 @@ namespace app { }; Statistics AXI0_WR { .name = "NPU AXI0_WR_DATA_BEAT_WRITTEN", - .unit = "cycles", + .unit = "beats", .total = 0, .avrg = 0.0, .min = series[0].axi0reads, @@ -117,7 +117,7 @@ namespace app { }; Statistics AXI1_RD { .name = "NPU AXI1_RD_DATA_BEAT_RECEIVED", - .unit = "cycles", + .unit = "beats", .total = 0, .avrg = 0.0, .min = series[0].axi1reads, -- cgit v1.2.1