This class contains a timeline call tree and a map of counters to their values over time.
More...
|
static TRACE_API TraceEventTreeRefPtr | New (const TraceCollection &collection, const CounterMap *initialCounterValues=nullptr) |
| Creates a new TraceEventTree instance from the data in collection and initialCounterValues . More...
|
|
static TraceEventTreeRefPtr | New () |
|
static TraceEventTreeRefPtr | New (TraceEventNodeRefPtr root, CounterValuesMap counters, MarkerValuesMap markers) |
|
static TF_API void | SetUniqueChangedListener (UniqueChangedListener listener) |
|
|
TfRefPtr< Tf_Remnant > | _Register () const |
|
template<class T > |
TfRefPtr< Tf_Remnant > | _Register (T *tempRmnt) const |
|
bool | _HasRemnant () const |
|
This class contains a timeline call tree and a map of counters to their values over time.
Definition at line 58 of file eventTree.h.
◆ ExtraFieldFn
Writes a JSON object representing the data in the call tree that conforms to the Chrome Trace format.
Definition at line 103 of file eventTree.h.
◆ Add()
Adds the data from collection
to this tree.
◆ GetCounters()
const CounterValuesMap& GetCounters |
( |
| ) |
const |
|
inline |
Returns the map of counter values.
Definition at line 93 of file eventTree.h.
◆ GetFinalCounterValues()
CounterMap GetFinalCounterValues |
( |
| ) |
const |
Return the final value of the counters in the report.
◆ GetMarkers()
const MarkerValuesMap& GetMarkers |
( |
| ) |
const |
|
inline |
Returns the map of markers values.
Definition at line 96 of file eventTree.h.
◆ GetRoot()
const TraceEventNodeRefPtr& GetRoot |
( |
| ) |
const |
|
inline |
Returns the root node of the tree.
Definition at line 90 of file eventTree.h.
◆ Merge()
TRACE_API void Merge |
( |
const TraceEventTreeRefPtr & |
tree | ) |
|
Adds the contexts of tree
to this tree.
◆ New()
static TRACE_API TraceEventTreeRefPtr New |
( |
const TraceCollection & |
collection, |
|
|
const CounterMap * |
initialCounterValues = nullptr |
|
) |
| |
|
static |
Creates a new TraceEventTree instance from the data in collection
and initialCounterValues
.
The documentation for this class was generated from the following file: