|
| const Key & | GetKey () const |
| | Return this event's key.
|
| |
| TRACE_API TimeStamp | GetTimeStamp () const |
| | Return the time stamp associated with this event.
|
| |
| TRACE_API double | GetCounterValue () const |
| | Return the counter value associated with this event.
|
| |
| TraceCategoryId | GetCategory () const |
| | Returns the event's category id.
|
| |
| TRACE_API TimeStamp | GetStartTimeStamp () const |
| | Returns the start time of a timespan event.
|
| |
| TRACE_API TimeStamp | GetEndTimeStamp () const |
| | Returns the end time of a timespan event.
|
| |
| TRACE_API TraceEventData | GetData () const |
| | Returns the data stored in a data event.
|
| |
| TRACE_API EventType | GetType () const |
| | Returns the type of the event.
|
| |
|
| 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.
|
| |
|
| | TraceEvent (BeginTag, const Key &key, TraceCategoryId cat) |
| | Constructor for Begin events that will automatically set the timestamp from the current time.
|
| |
| | TraceEvent (BeginTag, const Key &key, TimeStamp ts, TraceCategoryId cat) |
| | Constructor for Begin events that takes a specific TimeStamp ts.
|
| |
| | TraceEvent (EndTag, const Key &key, TraceCategoryId cat) |
| | Constructor for End events that will automatically set the timestamp from the current time.
|
| |
| | TraceEvent (EndTag, const Key &key, TimeStamp ts, TraceCategoryId cat) |
| | Constructor for End events that takes a specific TimeStamp ts.
|
| |
| | TraceEvent (TimespanTag, const Key &key, TimeStamp startTime, TimeStamp endTime, TraceCategoryId cat) |
| | Constructor for Timespan events that takes the start time and end time.
|
| |
| | TraceEvent (MarkerTag, const Key &key, TraceCategoryId cat) |
| | Constructor for Marker events that will automatically set the timestamp from the current time.
|
| |
| | TraceEvent (MarkerTag, const Key &key, TimeStamp ts, TraceCategoryId cat) |
| | Constructor for Mark events that takes a specific TimeStamp ts.
|
| |
| | TraceEvent (CounterDeltaTag, const Key &key, double value, TraceCategoryId cat) |
| | Constructor for Counter delta events.
|
| |
| | TraceEvent (CounterValueTag, const Key &key, double value, TraceCategoryId cat) |
| | Constructor for Counter value events.
|
| |
|
| | 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 30 of file event.h.