aboutsummaryrefslogtreecommitdiff
path: root/lib/ethosu_profiler/include/ethosu_profiler.hpp
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-05-21 18:59:18 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-05-24 20:11:33 +0200
commit44d6e22f953839a9e294a36d975289eac8615cf2 (patch)
tree0a4af87c4bd313e2f9d66228a9ab7551267a91ee /lib/ethosu_profiler/include/ethosu_profiler.hpp
parent596a4663da4a6ae4be6bb4cc7c80d6f98f4874bc (diff)
downloadethos-u-core-software-44d6e22f953839a9e294a36d975289eac8615cf2.tar.gz
Fixing compilation warnings
Change-Id: I3a1a361e6e8d40d2ac505b3c8d065c00224f1c2f
Diffstat (limited to 'lib/ethosu_profiler/include/ethosu_profiler.hpp')
-rw-r--r--lib/ethosu_profiler/include/ethosu_profiler.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ethosu_profiler/include/ethosu_profiler.hpp b/lib/ethosu_profiler/include/ethosu_profiler.hpp
index 503ebba..12c337c 100644
--- a/lib/ethosu_profiler/include/ethosu_profiler.hpp
+++ b/lib/ethosu_profiler/include/ethosu_profiler.hpp
@@ -39,8 +39,7 @@ private:
std::unique_ptr<const char *[]> tags_;
std::unique_ptr<uint64_t[]> start_ticks_;
std::unique_ptr<uint64_t[]> end_ticks_;
-
- int num_events_ = 0;
+ size_t num_events_;
TF_LITE_REMOVE_VIRTUAL_DELETE;
};