diff options
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 |