class CounterTrack
Defined at line 361 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
A track for recording counter values with the TRACE_COUNTER macro. Counter
tracks can optionally be given units and other metadata. See
/protos/perfetto/trace/track_event/counter_descriptor.proto for details.
Public Methods
void CounterTrack (StaticString name, Track parent)
|name| must outlive this object.
Defined at line 372 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
void CounterTrack (StaticStringname,uint64_tid,Trackparent)
Defined at line 381 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
void CounterTrack (DynamicString name, Track parent)
Defined at line 391 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
void CounterTrack (DynamicStringname,uint64_tid,Trackparent)
Defined at line 399 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
void CounterTrack (TrackEventName &&name,const char *unit_name,Trackparent)
|unit_name| is a free-form description of the unit used by this counter. It
must outlive this object.
Defined at line 412 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
void CounterTrack (TrackEventName &&name,Unitunit,Trackparent)
Defined at line 423 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
CounterTrack Global (TrackEventName && name, const char * unit_name)
Defined at line 433 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
CounterTrack Global (TrackEventName && name, Unit unit)
Defined at line 439 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
CounterTrack Global (TrackEventName && name)
Defined at line 444 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
void Serialize (protos::pbzero::TrackDescriptor * )
protos::gen::TrackDescriptor Serialize ()
CounterTrack set_unit (Unit unit)
Defined at line 448 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_type (CounterType type)
Defined at line 454 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_unit_name (const char * unit_name)
Defined at line 460 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_unit_multiplier (int64_t unit_multiplier)
Defined at line 466 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_category (const char * category)
Defined at line 472 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_is_incremental (bool is_incremental)
Defined at line 478 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
bool is_incremental ()
Defined at line 484 of file ../../third_party/perfetto/include/perfetto/tracing/track.h