8 #include <server/include/timelineDecoder/ITimelineDecoder.hpp>
17 namespace timelinedecoder
32 void SetName(std::string entityName);
33 void SetType(std::string entityType);
57 virtual TimelineStatus
CreateEntity(
const Entity&)
override;
60 virtual TimelineStatus
CreateLabel(
const Label&)
override;
68 void HandleRetentionLink(
const Relationship& relationship);
69 void HandleLabelLink(
const Relationship& relationship);
70 void HandleExecutionLink(
const Relationship& relationship);
71 void HandleConnectionLabel(
const Relationship& relationship);
72 void HandleBackendIdLabel(
const Relationship& relationship);
73 void HandleNameLabel(
const Relationship& relationship);
74 void HandleTypeLabel(
const Relationship& relationship);
76 std::string GetLayerJSONString(
JSONEntity& entity,
int& counter, std::string& jsonEntityString);
77 std::string GetWorkloadJSONString(
const JSONEntity& entity,
int& counter, std::string& jsonEntityString);
78 std::string GetWorkloadExecutionJSONString(
const JSONEntity& entity, std::string& jsonEntityString)
const;
Event class records measurements reported by BeginEvent()/EndEvent() and returns measurements when Ev...
virtual TimelineStatus CreateRelationship(const Relationship &) override
virtual TimelineStatus CreateEntity(const Entity &) override
virtual TimelineStatus CreateEvent(const Event &) override
std::string GetJSONEntityString(JSONEntity &entity, int &counter)
void PrintJSON(JSONEntity &entity, std::ostream &os)
virtual TimelineStatus CreateLabel(const Label &) override
std::string GetJSONString(JSONEntity &rootEntity)
virtual TimelineStatus CreateEventClass(const EventClass &) override
Copyright (c) 2021 ARM Limited and Contributors.
std::map< std::string, std::string > extendedData
JSONEntity(uint64_t guid)
std::vector< uint64_t > connected_entities
void SetType(std::string entityType)
void SetName(std::string entityName)
void SetParent(JSONEntity &parent)
void AddConnection(JSONEntity &headEntity, JSONEntity &connectedEntity)
std::vector< uint64_t > childEntities
std::map< uint64_t, Event > events
std::map< uint64_t, Relationship > relationships
std::map< uint64_t, Label > labels
std::map< uint64_t, EventClass > eventClasses
std::map< uint64_t, JSONEntity > jsonEntities