diff options
author | Måns Nilsson <mans.nilsson@arm.com> | 2022-09-26 08:42:10 +0200 |
---|---|---|
committer | Måns Nilsson <mans.nilsson@arm.com> | 2022-09-29 15:02:47 +0200 |
commit | 45a8a133da680f739f079e6c23eb0596802c9708 (patch) | |
tree | ae16e04c1cf85a959fe11c53be945b86a5ad138c /lib/arm_profiler | |
parent | dace45aab90a212b34ca1541251e45687ad2f3f4 (diff) | |
download | ethos-u-core-software-45a8a133da680f739f079e6c23eb0596802c9708.tar.gz |
Profilers inherit MicroProfilerInterface instead of MicroProfiler
This will decrease current stack usage requirement and memory footprint.
Change-Id: I8ac314238efcdf1622cdcafd479c6cc1a8580509
Diffstat (limited to 'lib/arm_profiler')
-rw-r--r-- | lib/arm_profiler/include/arm_profiler.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/arm_profiler/include/arm_profiler.hpp b/lib/arm_profiler/include/arm_profiler.hpp index 0e6784d..3a487bd 100644 --- a/lib/arm_profiler/include/arm_profiler.hpp +++ b/lib/arm_profiler/include/arm_profiler.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2022 Arm Limited. All rights reserved. + * SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com> * * SPDX-License-Identifier: Apache-2.0 * @@ -19,13 +19,12 @@ #ifndef ARM_PROFILER_H #define ARM_PROFILER_H -#include "tensorflow/lite/kernels/internal/compatibility.h" -#include "tensorflow/lite/micro/micro_profiler.h" +#include "tensorflow/lite/micro/micro_profiler_interface.h" #include <memory> // TODO: Merge this profiler with EthosUprofiler. namespace tflite { -class ArmProfiler : public MicroProfiler { +class ArmProfiler : public MicroProfilerInterface { public: ArmProfiler(size_t max_events = 200); uint32_t BeginEvent(const char *tag); |