aboutsummaryrefslogtreecommitdiff
path: root/applications/inference_process/src/inference_process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'applications/inference_process/src/inference_process.cpp')
-rw-r--r--applications/inference_process/src/inference_process.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/inference_process/src/inference_process.cpp b/applications/inference_process/src/inference_process.cpp
index cc2b378..3b26469 100644
--- a/applications/inference_process/src/inference_process.cpp
+++ b/applications/inference_process/src/inference_process.cpp
@@ -200,7 +200,7 @@ bool InferenceProcess::runJob(InferenceJob &job) {
// Create the TFL micro interpreter
tflite::AllOpsResolver resolver;
- tflite::MicroProfiler profiler(reporter);
+ tflite::MicroProfiler profiler;
#if defined(INFERENCE_PROC_TFLU_PROFILER) && defined(ETHOSU)
profiler.MonitorEthosuPMUEvents(ethosu_pmu_event_type(job.pmuEventConfig[0]),
@@ -260,10 +260,10 @@ 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.TotalInferenceTime());
+ printf("Inference runtime: %u cycles\r\n", (unsigned int)profiler.GetTotalTicks());
if (job.pmuCycleCounterEnable != 0) {
- job.pmuCycleCounterCount = profiler.TotalInferenceTime();
+ job.pmuCycleCounterCount = profiler.GetTotalTicks();
}
#ifdef ETHOSU