diff options
author | Jim Flynn <jim.flynn@arm.com> | 2020-07-09 07:28:37 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-07-09 13:48:46 +0100 |
commit | 1fdeb99ca83bac83e0cacb332880e2e62dd22198 (patch) | |
tree | 76aa91baf9d3b7306b2fa15e1a50dc0bbfe3af26 /include | |
parent | 86953ed331027bd557a80d782d5ee99298de35c4 (diff) | |
download | armnn-1fdeb99ca83bac83e0cacb332880e2e62dd22198.tar.gz |
IVGCVSW-5095 Make timeline report the Linux Thread ID not the pthread ID
Change-Id: Id69519fd9ef57716de4e389ed4156710a904c701
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/armnn/profiling/ISendTimelinePacket.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 <algorithm> #include <string> -#include <thread> #include <vector> 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; |