aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-06-29 08:44:46 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-06-29 09:40:35 +0200
commit3d5bb17f8ee0653cc6002b14227e74050d38c8ae (patch)
tree8f5d1abc48c019e26fc206518a512dbc7f07bdc7
parent8e13f90d45bb7c5b6ac54d8516468390c26fcf0c (diff)
downloadethos-u-core-software-3d5bb17f8ee0653cc6002b14227e74050d38c8ae.tar.gz
Removing profiler define
Removing define that is no longer needed now that the profiler classes have been implemented. Updating .gitignore. Change-Id: Idc1eab268a4f4d1ff9460671f8547c1fcb209f82
-rw-r--r--.gitignore3
-rw-r--r--applications/inference_process/src/inference_process.cpp3
2 files changed, 1 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 952fe45..e385464 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,8 +3,7 @@
/cmsis
/openamp
/rtos/freertos
-/rtos/mbed-os
-/rtos/zephyr
+/rtos/threadx
/tensorflow
/tflite_micro
/cmsis-view
diff --git a/applications/inference_process/src/inference_process.cpp b/applications/inference_process/src/inference_process.cpp
index 3e1f12e..13cabb2 100644
--- a/applications/inference_process/src/inference_process.cpp
+++ b/applications/inference_process/src/inference_process.cpp
@@ -257,15 +257,12 @@ bool InferenceProcess::runJob(InferenceJob &job) {
printf("%s : %zu\r\n", "arena_used_bytes", interpreter.arena_used_bytes());
-#ifdef INFERENCE_PROC_TFLU_PROFILER
printf("Inference runtime: %u cycles\r\n", (unsigned int)profiler.GetTotalTicks());
if (job.pmuCycleCounterEnable != 0) {
job.pmuCycleCounterCount = profiler.GetTotalTicks();
}
-#endif
-
// Copy output data
if (job.output.size() > 0) {
if (interpreter.outputs_size() != job.output.size()) {