aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/TimelineModel.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2020-07-14 09:50:59 +0100
committerJim Flynn <jim.flynn@arm.com>2020-07-14 17:20:04 +0100
commitf7713212f080771e0c6d53d939da59a9ea2e7da0 (patch)
treec176d4448ed36804b6bac3806d55c74f113e2256 /src/profiling/test/TimelineModel.cpp
parent6da6a45d09ac8d7ea956c09ba241c9e0840ecb25 (diff)
downloadarmnn-f7713212f080771e0c6d53d939da59a9ea2e7da0.tar.gz
IVGCVSW-5101 Add a SOL/EOL and a process ID label to Network
Change-Id: I6261f46404a3aab5c069bca40586994d31d26fe8 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test/TimelineModel.cpp')
-rw-r--r--src/profiling/test/TimelineModel.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/profiling/test/TimelineModel.cpp b/src/profiling/test/TimelineModel.cpp
index d16a300d91..2e4fd06013 100644
--- a/src/profiling/test/TimelineModel.cpp
+++ b/src/profiling/test/TimelineModel.cpp
@@ -359,7 +359,13 @@ std::string GetEntityDescription(const Entity& entity)
ss << "Entity [" << entity.GetGuid() << "]";
for (auto& attributeEntry : entity.GetAttributes())
{
- ss << " " << attributeEntry.second.first << " = " << attributeEntry.second.second;
+ if (profiling::LabelsAndEventClasses::PROCESS_ID_LABEL == attributeEntry.second.first)
+ {
+ ss << " " << attributeEntry.second.first << " = [processId]";
+ }
+ else {
+ ss << " " << attributeEntry.second.first << " = " << attributeEntry.second.second;
+ }
}
return ss.str();
}