aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/LabelsAndEventClasses.hpp
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2019-11-22 11:26:06 +0000
committerJim Flynn Arm <jim.flynn@arm.com>2019-11-29 17:01:45 +0000
commitdf31cfe29f9dccc4c2055a1d2a97de644b07d522 (patch)
tree15e848d398c35e669ecb0cff574907c4bd1662b9 /src/profiling/LabelsAndEventClasses.hpp
parenta68d8530d3dcfc7c54b9c2bfa00b407f45145253 (diff)
downloadarmnn-df31cfe29f9dccc4c2055a1d2a97de644b07d522.tar.gz
IVGCVSW-4070 Implement "send post-optimized network structure"
* Send post-optimisation network structure if profiling service is enabled * Refactor TimelineUtilityMethods * Fix RecordEvent to link eventGuid with eventClassGuid * Add common types and guid to LabelsAndEventClasses * Add CreateRelationship to TimelineUtilityMethods * Add CreateTypedEntity to TimelineUtilityMethods * Add MarkEntityWithType to TimelineUtilityMethods * Move VerifyTimeline functions to ProfilingTestUtils * Post-optimisation network structure unit tests to Ref, Cl, Neon Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I0194f2037c236450c912f4c3cb11e46b80c0f512
Diffstat (limited to 'src/profiling/LabelsAndEventClasses.hpp')
-rw-r--r--src/profiling/LabelsAndEventClasses.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/profiling/LabelsAndEventClasses.hpp b/src/profiling/LabelsAndEventClasses.hpp
index daa33addab..c2082dd9e5 100644
--- a/src/profiling/LabelsAndEventClasses.hpp
+++ b/src/profiling/LabelsAndEventClasses.hpp
@@ -22,9 +22,21 @@ public:
static std::string NAME_LABEL;
static std::string TYPE_LABEL;
static std::string INDEX_LABEL;
+ static std::string BACKENDID_LABEL;
static ProfilingStaticGuid NAME_GUID;
static ProfilingStaticGuid TYPE_GUID;
static ProfilingStaticGuid INDEX_GUID;
+ static ProfilingStaticGuid BACKENDID_GUID;
+
+ // Common types
+ static std::string LAYER;
+ static std::string WORKLOAD;
+ static std::string NETWORK;
+ static std::string CONNECTION;
+ static ProfilingStaticGuid LAYER_GUID;
+ static ProfilingStaticGuid WORKLOAD_GUID;
+ static ProfilingStaticGuid NETWORK_GUID;
+ static ProfilingStaticGuid CONNECTION_GUID;
// Event Class GUIDs
static ProfilingStaticGuid ARMNN_PROFILING_SOL_EVENT_CLASS;