aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingUtils.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-11-04 14:05:28 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-11-06 15:50:10 +0000
commit5dc816e7d027170992e45d22ae11ae3000de9244 (patch)
treed96d8a759dd0bcd9b98df36698ded032caa13bd0 /src/profiling/ProfilingUtils.hpp
parent5edc8816118fcddb2681379db04c978041ce8b46 (diff)
downloadarmnn-5dc816e7d027170992e45d22ae11ae3000de9244.tar.gz
IVGCVSW-4065 Add a RecordEvent function
* Added RecordEvent utility function to the TimelineUtilityMethods class * Added new utility function to get a timestamp * Added unit tests Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: Ia3f8fe7397915fa6c903ce0c0abab3047cea628c
Diffstat (limited to 'src/profiling/ProfilingUtils.hpp')
-rw-r--r--src/profiling/ProfilingUtils.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/profiling/ProfilingUtils.hpp b/src/profiling/ProfilingUtils.hpp
index fae1a83024..74fc437333 100644
--- a/src/profiling/ProfilingUtils.hpp
+++ b/src/profiling/ProfilingUtils.hpp
@@ -202,9 +202,11 @@ class BufferExhaustion : public armnn::Exception
using Exception::Exception;
};
-} // namespace profiling
+uint64_t GetTimestamp();
-} // namespace armnn
+} // namespace profiling
+
+} // namespace armnn
namespace std
{