diff options
author | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-10-30 12:48:31 +0000 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-10-30 16:21:13 +0000 |
commit | d034e087d9b48a7541aa588b5cad1373693a8e95 (patch) | |
tree | 09acedf864621647ee4e42453f9fe4cbcfc2cae3 /src/profiling/TimelineUtilityMethods.hpp | |
parent | c0a87c14bd2bc8a02f6c5c9f919abca27ca4dde0 (diff) | |
download | armnn-d034e087d9b48a7541aa588b5cad1373693a8e95.tar.gz |
IVGCVSW-4036 Add CreateNamedTypedEntity function
* Add CreateNamedTypedEntity function
* Add NameEntity function
* Add TypeEntity function
* Unit tests
Change-Id: I3cc27157a0b41c8709b0a468f93b58b63a1ad8d1
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Diffstat (limited to 'src/profiling/TimelineUtilityMethods.hpp')
-rw-r--r-- | src/profiling/TimelineUtilityMethods.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/profiling/TimelineUtilityMethods.hpp b/src/profiling/TimelineUtilityMethods.hpp index 63e5c40ae2..7d029e7fb4 100644 --- a/src/profiling/TimelineUtilityMethods.hpp +++ b/src/profiling/TimelineUtilityMethods.hpp @@ -24,9 +24,16 @@ public: void SendWellKnownLabelsAndEventClasses(); - ProfilingStaticGuid DeclareLabel(const std::string& labelName); + ProfilingDynamicGuid CreateNamedTypedEntity(const std::string& name, const std::string& type); + void CreateTypedLabel(ProfilingGuid entityGuid, const std::string& entityName, ProfilingStaticGuid labelTypeGuid); + ProfilingStaticGuid DeclareLabel(const std::string& labelName); + + void NameEntity(ProfilingGuid entityGuid, const std::string& name); + + void TypeEntity(ProfilingGuid entityGuid, const std::string& type); + private: ISendTimelinePacket& m_SendTimelinePacket; }; |