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 --- include/armnn/profiling/ISendTimelinePacket.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/armnn/profiling') diff --git a/include/armnn/profiling/ISendTimelinePacket.hpp b/include/armnn/profiling/ISendTimelinePacket.hpp index 0eba33361a..c5da5219f7 100644 --- a/include/armnn/profiling/ISendTimelinePacket.hpp +++ b/include/armnn/profiling/ISendTimelinePacket.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2019 Arm Ltd. All rights reserved. +// Copyright © 2019 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -7,7 +7,6 @@ #include #include -#include #include namespace armnn @@ -38,7 +37,7 @@ public: /// Create and write a TimelineEventBinaryPacket from the parameters to the buffer. virtual void - SendTimelineEventBinaryPacket(uint64_t timestamp, std::thread::id threadId, uint64_t profilingGuid) = 0; + SendTimelineEventBinaryPacket(uint64_t timestamp, int threadId, uint64_t profilingGuid) = 0; /// Create and write a TimelineEventClassBinaryPacket from the parameters to the buffer. virtual void SendTimelineEventClassBinaryPacket(uint64_t profilingGuid, uint64_t nameGuid) = 0; -- cgit v1.2.1