diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2022-11-21 13:39:45 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2022-11-23 09:46:12 +0100 |
commit | 1fed1d5f4c42486dd7429fe8e7acfaf4e85e3772 (patch) | |
tree | 7d18feec7453e9b1256368b0da417749432e54b0 /lib/layer_by_layer_profiler/src/layer_by_layer_profiler.cpp | |
parent | eb1d711bf6e01fd3744b4eddc272d626716d48ca (diff) | |
download | ethos-u-core-software-1fed1d5f4c42486dd7429fe8e7acfaf4e85e3772.tar.gz |
Use Tensorflow MicroPrintf
Change-Id: I01bbafc45ca2a56759d7d5afbbbacefb40fd9a26
Diffstat (limited to 'lib/layer_by_layer_profiler/src/layer_by_layer_profiler.cpp')
-rw-r--r-- | lib/layer_by_layer_profiler/src/layer_by_layer_profiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/layer_by_layer_profiler/src/layer_by_layer_profiler.cpp b/lib/layer_by_layer_profiler/src/layer_by_layer_profiler.cpp index 4f525ee..927587f 100644 --- a/lib/layer_by_layer_profiler/src/layer_by_layer_profiler.cpp +++ b/lib/layer_by_layer_profiler/src/layer_by_layer_profiler.cpp @@ -17,7 +17,7 @@ */ #include "tensorflow/lite/kernels/internal/compatibility.h" -#include "tensorflow/lite/micro/micro_error_reporter.h" +#include "tensorflow/lite/micro/micro_log.h" #include "tensorflow/lite/micro/micro_profiler.h" #include "tensorflow/lite/micro/micro_time.h" @@ -41,7 +41,7 @@ LayerByLayerProfiler::LayerByLayerProfiler(size_t max_events, Backend _backend, // NOTE: THIS PROFILER ONLY WORKS ON SYSTEMS WITH 1 NPU uint32_t LayerByLayerProfiler::BeginEvent(const char *tag) { if (num_events_ == max_events_) { - tflite::GetMicroErrorReporter()->Report("Profiling event overflow, max: %u events", max_events_); + MicroPrintf("Profiling event overflow, max: %u events", max_events_); num_events_ = 0; } |