MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetEntityDescription

Function GetEntityDescription

src/profiling/test/TimelineModel.cpp:357–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357std::string GetEntityDescription(const Entity& entity)
358{
359 std::stringstream ss;
360 ss << "Entity [" << entity.GetGuid() << "]";
361 for (auto& attributeEntry : entity.GetAttributes())
362 {
363 if (LabelsAndEventClasses::PROCESS_ID_LABEL == attributeEntry.second.first)
364 {
365 ss << " " << attributeEntry.second.first << " = [processId]";
366 }
367 else {
368 ss << " " << attributeEntry.second.first << " = " << attributeEntry.second.second;
369 }
370 }
371 return ss.str();
372}
373
374std::string GetChildDescription(Entity* entity)
375{

Callers 3

GetModelDescriptionFunction · 0.85
GetChildDescriptionFunction · 0.85
GetExecutionDescriptionFunction · 0.85

Calls 2

GetGuidMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected