From 9c85b41a9fcb3c64d7a686373e7dde75630ccd49 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Wed, 16 Mar 2022 00:27:43 +0000 Subject: IVGCVSW-6852 Break the remaining dependencies on Arm NN in the profiling code Change-Id: I18b8ca22896567904768170350ee5eb22edd4a22 Signed-off-by: Jim Flynn --- profiling/common/include/Processes.hpp | 2 +- profiling/common/include/Threads.hpp | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 profiling/common/include/Threads.hpp (limited to 'profiling/common/include') 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 -- cgit v1.2.1