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