aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/TimelineModel.cpp
diff options
context:
space:
mode:
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();
}