From 6fded05ade1b880c2b18dba594f39744c38eeb50 Mon Sep 17 00:00:00 2001 From: Isabella Gottardi Date: Tue, 20 Jul 2021 12:39:02 +0100 Subject: Change NPU Total report to uppercase Change-Id: I803b1d4d8b4a19fa83c5c329760de2f7623b63fc --- docs/use_cases/ad.md | 2 +- docs/use_cases/asr.md | 2 +- docs/use_cases/img_class.md | 2 +- docs/use_cases/inference_runner.md | 2 +- docs/use_cases/kws.md | 2 +- docs/use_cases/kws_asr.md | 4 ++-- source/application/main/Profiler.cc | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/use_cases/ad.md b/docs/use_cases/ad.md index 160718a..8060f11 100644 --- a/docs/use_cases/ad.md +++ b/docs/use_cases/ad.md @@ -399,7 +399,7 @@ INFO - NPU AXI0_WR_DATA_BEAT_WRITTEN beats: 135087 INFO - NPU AXI1_RD_DATA_BEAT_RECEIVED beats: 62870 INFO - NPU ACTIVE cycles: 1081007 INFO - NPU IDLE cycles: 626 -INFO - NPU total cycles: 1081634 +INFO - NPU TOTAL cycles: 1081634 ``` As multiple inferences must be run for one clip, it takes around a minute for all inferences to complete. diff --git a/docs/use_cases/asr.md b/docs/use_cases/asr.md index 4a669bc..b90f337 100644 --- a/docs/use_cases/asr.md +++ b/docs/use_cases/asr.md @@ -454,7 +454,7 @@ INFO - NPU AXI0_WR_DATA_BEAT_WRITTEN beats: 928889 INFO - NPU AXI1_RD_DATA_BEAT_RECEIVED beats: 841712 INFO - NPU ACTIVE cycles: 28450696 INFO - NPU IDLE cycles: 476 -INFO - NPU total cycles: 28451172 +INFO - NPU TOTAL cycles: 28451172 ``` It can take several minutes to complete each inference. The average time is around 5-7 minutes, and on this audio clip, diff --git a/docs/use_cases/img_class.md b/docs/use_cases/img_class.md index 551461b..e73789d 100644 --- a/docs/use_cases/img_class.md +++ b/docs/use_cases/img_class.md @@ -374,7 +374,7 @@ INFO - NPU AXI0_WR_DATA_BEAT_WRITTEN beats: 1098726 INFO - NPU AXI1_RD_DATA_BEAT_RECEIVED beats: 471129 INFO - NPU ACTIVE cycles: 7489258 INFO - NPU IDLE cycles: 914 -INFO - NPU total cycles: 7490172 +INFO - NPU TOTAL cycles: 7490172 ``` It can take several minutes to complete one inference run. The average time is around 2-3 minutes. diff --git a/docs/use_cases/inference_runner.md b/docs/use_cases/inference_runner.md index 60bdb8b..36c82cf 100644 --- a/docs/use_cases/inference_runner.md +++ b/docs/use_cases/inference_runner.md @@ -232,7 +232,7 @@ INFO - NPU AXI0_WR_DATA_BEAT_WRITTEN beats: 3248 INFO - NPU AXI1_RD_DATA_BEAT_RECEIVED beats: 2219 INFO - NPU ACTIVE cycles: 33145 INFO - NPU IDLE cycles: 1033 -INFO - NPU total cycles: 34178 +INFO - NPU TOTAL cycles: 34178 ``` After running an inference on randomly generated data, the output of the log shows the profiling results that for this diff --git a/docs/use_cases/kws.md b/docs/use_cases/kws.md index e7ffe88..bdd0f01 100644 --- a/docs/use_cases/kws.md +++ b/docs/use_cases/kws.md @@ -416,7 +416,7 @@ INFO - NPU AXI0_WR_DATA_BEAT_WRITTEN beats: 82607 INFO - NPU AXI1_RD_DATA_BEAT_RECEIVED beats: 59608 INFO - NPU ACTIVE cycles: 680611 INFO - NPU IDLE cycles: 561 -INFO - NPU total cycles: 681172 +INFO - NPU TOTAL cycles: 681172 ``` On most systems running Fast Model, each inference takes under 30 seconds. diff --git a/docs/use_cases/kws_asr.md b/docs/use_cases/kws_asr.md index 752d037..102f116 100644 --- a/docs/use_cases/kws_asr.md +++ b/docs/use_cases/kws_asr.md @@ -542,7 +542,7 @@ INFO - NPU AXI0_WR_DATA_BEAT_WRITTEN beats: 82607 INFO - NPU AXI1_RD_DATA_BEAT_RECEIVED beats: 59608 INFO - NPU ACTIVE cycles: 680611 INFO - NPU IDLE cycles: 561 -INFO - NPU total cycles: 681172 +INFO - NPU TOTAL cycles: 681172 INFO - Keyword spotted INFO - Inference 1/2 INFO - Inference 2/2 @@ -555,7 +555,7 @@ INFO - NPU AXI0_WR_DATA_BEAT_WRITTEN beats: 2841970 INFO - NPU AXI1_RD_DATA_BEAT_RECEIVED beats: 2717670 INFO - NPU ACTIVE cycles: 28909309 INFO - NPU IDLE cycles: 863 -INFO - NPU total cycles: 28910172 +INFO - NPU TOTAL cycles: 28910172 ``` It can take several minutes to complete one inference run. The average time is around 2-3 minutes. diff --git a/source/application/main/Profiler.cc b/source/application/main/Profiler.cc index d8a6fa3..5d2c23f 100644 --- a/source/application/main/Profiler.cc +++ b/source/application/main/Profiler.cc @@ -140,7 +140,7 @@ namespace app { .max = 0 }; Statistics NPU_Total { - .name = "NPU total", + .name = "NPU TOTAL", .unit = "cycles", .total = 0, .avrg = 0.0, -- cgit v1.2.1