class CounterTrack
Defined at line 318 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 329 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
void CounterTrack (StaticStringname,uint64_tid,Trackparent)
Defined at line 338 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
void CounterTrack (DynamicString name, Track parent)
Defined at line 348 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
void CounterTrack (DynamicStringname,uint64_tid,Trackparent)
Defined at line 356 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 369 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
void CounterTrack (TrackEventName &&name,Unitunit,Trackparent)
Defined at line 380 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
CounterTrack Global (TrackEventName && name, const char * unit_name)
Defined at line 390 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
CounterTrack Global (TrackEventName && name, Unit unit)
Defined at line 396 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
template <class TrackEventName>
CounterTrack Global (TrackEventName && name)
Defined at line 401 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 405 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_type (CounterType type)
Defined at line 411 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_unit_name (const char * unit_name)
Defined at line 417 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_unit_multiplier (int64_t unit_multiplier)
Defined at line 423 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_category (const char * category)
Defined at line 429 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
CounterTrack set_is_incremental (bool is_incremental)
Defined at line 435 of file ../../third_party/perfetto/include/perfetto/tracing/track.h
bool is_incremental ()
Defined at line 441 of file ../../third_party/perfetto/include/perfetto/tracing/track.h