aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2020-05-26 21:10:49 +0100
committerJim Flynn <jim.flynn@arm.com>2020-05-27 15:05:25 +0000
commit1892d210d089cfbf355b44e32feb40bcb283ffc3 (patch)
tree28e53f6b63443b89cf6198f2e94af353d43e3aa6 /include
parent83fcf988cc1d5c9254a19258d6d67362c04bbaf4 (diff)
downloadarmnn-1892d210d089cfbf355b44e32feb40bcb283ffc3.tar.gz
IVGCVSW-4735 Add label GUID to timeline eventClass message
Change-Id: Ie205d8146f5bb1920bf001b7623ead79e2ab9e48 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/armnn/profiling/ISendTimelinePacket.hpp2
-rw-r--r--include/armnn/profiling/ITimelineDecoder.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/armnn/profiling/ISendTimelinePacket.hpp b/include/armnn/profiling/ISendTimelinePacket.hpp
index a296223e1a..0eba33361a 100644
--- a/include/armnn/profiling/ISendTimelinePacket.hpp
+++ b/include/armnn/profiling/ISendTimelinePacket.hpp
@@ -41,7 +41,7 @@ public:
SendTimelineEventBinaryPacket(uint64_t timestamp, std::thread::id threadId, uint64_t profilingGuid) = 0;
/// Create and write a TimelineEventClassBinaryPacket from the parameters to the buffer.
- virtual void SendTimelineEventClassBinaryPacket(uint64_t profilingGuid) = 0;
+ virtual void SendTimelineEventClassBinaryPacket(uint64_t profilingGuid, uint64_t nameGuid) = 0;
/// Create and write a TimelineLabelBinaryPacket from the parameters to the buffer.
virtual void SendTimelineLabelBinaryPacket(uint64_t profilingGuid, const std::string& label) = 0;
diff --git a/include/armnn/profiling/ITimelineDecoder.hpp b/include/armnn/profiling/ITimelineDecoder.hpp
index 763858ccb3..0035a3b7d2 100644
--- a/include/armnn/profiling/ITimelineDecoder.hpp
+++ b/include/armnn/profiling/ITimelineDecoder.hpp
@@ -47,6 +47,7 @@ public:
struct EventClass
{
uint64_t m_Guid;
+ uint64_t m_NameGuid;
};
struct Event