From 1fdeb99ca83bac83e0cacb332880e2e62dd22198 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Thu, 9 Jul 2020 07:28:37 +0100 Subject: IVGCVSW-5095 Make timeline report the Linux Thread ID not the pthread ID Change-Id: Id69519fd9ef57716de4e389ed4156710a904c701 Signed-off-by: Jim Flynn --- src/armnnUtils/Threads.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/armnnUtils/Threads.hpp (limited to 'src/armnnUtils/Threads.hpp') diff --git a/src/armnnUtils/Threads.hpp b/src/armnnUtils/Threads.hpp new file mode 100644 index 0000000000..4cecfd5079 --- /dev/null +++ b/src/armnnUtils/Threads.hpp @@ -0,0 +1,16 @@ +// +// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +namespace armnnUtils +{ +namespace Threads +{ + +int GetCurrentThreadId(); + +} +} -- cgit v1.2.1