diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-16 00:27:43 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-16 14:42:34 +0000 |
commit | 9c85b41a9fcb3c64d7a686373e7dde75630ccd49 (patch) | |
tree | 49ec983ec1ba499d5a5a9240b69f8f4bb9ca2082 /profiling/common/include | |
parent | 06ccd713391cca68dc8ab53b84bf058723ae55ab (diff) | |
download | armnn-9c85b41a9fcb3c64d7a686373e7dde75630ccd49.tar.gz |
IVGCVSW-6852 Break the remaining dependencies on Arm NN in the profiling code
Change-Id: I18b8ca22896567904768170350ee5eb22edd4a22
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'profiling/common/include')
-rw-r--r-- | profiling/common/include/Processes.hpp | 2 | ||||
-rw-r--r-- | profiling/common/include/Threads.hpp | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/profiling/common/include/Processes.hpp b/profiling/common/include/Processes.hpp index cc59d8b2d4..0a15368169 100644 --- a/profiling/common/include/Processes.hpp +++ b/profiling/common/include/Processes.hpp @@ -10,7 +10,7 @@ namespace arm namespace pipe { -int GetCurrentId(); +int GetCurrentProcessId(); } // namespace arm } // namespace pipe diff --git a/profiling/common/include/Threads.hpp b/profiling/common/include/Threads.hpp new file mode 100644 index 0000000000..1c24a3087b --- /dev/null +++ b/profiling/common/include/Threads.hpp @@ -0,0 +1,16 @@ +// +// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +namespace arm +{ +namespace pipe +{ + +int GetCurrentThreadId(); + +} // namespace pipe +} // namespace arm |