|
const Key & | GetKey () const |
| Return this event's key. More...
|
|
TRACE_API TimeStamp | GetTimeStamp () const |
| Return the time stamp associated with this event. More...
|
|
TRACE_API double | GetCounterValue () const |
| Return the counter value associated with this event. More...
|
|
TraceCategoryId | GetCategory () const |
| Returns the event's category id. More...
|
|
TRACE_API TimeStamp | GetStartTimeStamp () const |
| Returns the start time of a timespan event. More...
|
|
TRACE_API TimeStamp | GetEndTimeStamp () const |
| Returns the end time of a timespan event. More...
|
|
TRACE_API TraceEventData | GetData () const |
| Returns the data stored in a data event. More...
|
|
TRACE_API EventType | GetType () const |
| Returns the type of the event. More...
|
|
| TraceEvent (const TraceEvent &)=delete |
|
TraceEvent & | operator= (const TraceEvent &)=delete |
|
| TraceEvent (TraceEvent &&)=default |
|
TraceEvent & | operator= (TraceEvent &&)=default |
|
void | SetTimeStamp (TimeStamp time) |
| Sets the events timestamp to time . More...
|
|
|
| TraceEvent (BeginTag, const Key &key, TraceCategoryId cat) |
|
| TraceEvent (BeginTag, const Key &key, TimeStamp ts, TraceCategoryId cat) |
| Constructor for Begin events that takes a specific TimeStamp ts. More...
|
|
| TraceEvent (EndTag, const Key &key, TraceCategoryId cat) |
|
| TraceEvent (EndTag, const Key &key, TimeStamp ts, TraceCategoryId cat) |
| Constructor for End events that takes a specific TimeStamp ts. More...
|
|
| TraceEvent (TimespanTag, const Key &key, TimeStamp startTime, TimeStamp endTime, TraceCategoryId cat) |
| Constructor for Timespan events that takes the start time and end time. More...
|
|
| TraceEvent (MarkerTag, const Key &key, TraceCategoryId cat) |
|
| TraceEvent (MarkerTag, const Key &key, TimeStamp ts, TraceCategoryId cat) |
| Constructor for Mark events that takes a specific TimeStamp ts. More...
|
|
| TraceEvent (CounterDeltaTag, const Key &key, double value, TraceCategoryId cat) |
| Constructor for Counter delta events. More...
|
|
| TraceEvent (CounterValueTag, const Key &key, double value, TraceCategoryId cat) |
| Constructor for Counter value events. More...
|
|
|
| TraceEvent (DataTag, const Key &key, bool data, TraceCategoryId cat) |
|
| TraceEvent (DataTag, const Key &key, int data, TraceCategoryId cat) |
|
| TraceEvent (DataTag, const Key &key, int64_t data, TraceCategoryId cat) |
|
| TraceEvent (DataTag, const Key &key, uint64_t data, TraceCategoryId cat) |
|
| TraceEvent (DataTag, const Key &key, double data, TraceCategoryId cat) |
|
| TraceEvent (DataTag, const Key &key, const char *data, TraceCategoryId cat) |
|
This represents an event recorded by a TraceCollector. It contains a key (name), categoryId, timestamp, type, and optional metadata.
Definition at line 47 of file event.h.