aboutsummaryrefslogtreecommitdiff
path: root/profiling/common/include/Threads.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'profiling/common/include/Threads.hpp')
-rw-r--r--profiling/common/include/Threads.hpp16
1 files changed, 16 insertions, 0 deletions
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