32 Json::Value
ToJson()
const;
38 void FromJson(
const Json::Value& value);
A profiling event on the timeline.
Definition: Event.hpp:10
A thread containing events.
Definition: Thread.hpp:12
Thread(const std::string &name)
Create new thread.
Definition: Thread.cpp:5
void FromJson(const Json::Value &value)
Load thread from json value.
Definition: Thread.cpp:29
Event * AddEvent(const std::string &name)
Create new event.
Definition: Thread.cpp:9
std::list< Event > events
Events.
Definition: Thread.hpp:44
Json::Value ToJson() const
Save thread to json value.
Definition: Thread.cpp:14
std::string name
The name of the thread.
Definition: Thread.hpp:41