class CounterDescriptor

Defined at line 44 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

Public Members

static const auto COUNTER_UNSPECIFIED
static const auto COUNTER_THREAD_TIME_NS
static const auto COUNTER_THREAD_INSTRUCTION_COUNT
static const auto BuiltinCounterType_MIN
static const auto BuiltinCounterType_MAX
static const auto UNIT_UNSPECIFIED
static const auto UNIT_TIME_NS
static const auto UNIT_COUNT
static const auto UNIT_SIZE_BYTES
static const auto Unit_MIN
static const auto Unit_MAX

Public Methods

void CounterDescriptor ()
void CounterDescriptor (CounterDescriptor && )
void CounterDescriptor (const CounterDescriptor & )
bool ParseFromArray (const void * , size_t )
std::string SerializeAsString ()
std::vector<uint8_t> SerializeAsArray ()
void Serialize (::protozero::Message * )
bool operator!= (const CounterDescriptor & other)

Defined at line 76 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

bool has_type ()

Defined at line 83 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

CounterDescriptor_BuiltinCounterType type ()

Defined at line 84 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void set_type (CounterDescriptor_BuiltinCounterType value)

Defined at line 85 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

const std::vector<std::string> & categories ()

Defined at line 87 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

std::vector<std::string> * mutable_categories ()

Defined at line 88 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

int categories_size ()

Defined at line 89 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void clear_categories ()

Defined at line 90 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void add_categories (std::string value)

Defined at line 91 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

std::string * add_categories ()

Defined at line 92 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

bool has_unit ()

Defined at line 94 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void ~CounterDescriptor ()
CounterDescriptor & operator= (CounterDescriptor && )
CounterDescriptor & operator= (const CounterDescriptor & )
bool operator== (const CounterDescriptor & )
CounterDescriptor_Unit unit ()

Defined at line 95 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void set_unit (CounterDescriptor_Unit value)

Defined at line 96 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

bool has_unit_name ()

Defined at line 98 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

const std::string & unit_name ()

Defined at line 99 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void set_unit_name (const std::string & value)

Defined at line 100 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

bool has_unit_multiplier ()

Defined at line 102 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

int64_t unit_multiplier ()

Defined at line 103 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void set_unit_multiplier (int64_t value)

Defined at line 104 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

bool has_is_incremental ()

Defined at line 106 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

bool is_incremental ()

Defined at line 107 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void set_is_incremental (bool value)

Defined at line 108 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

bool has_y_axis_share_key ()

Defined at line 110 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

const std::string & y_axis_share_key ()

Defined at line 111 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

void set_y_axis_share_key (const std::string & value)

Defined at line 112 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h

Enumerations

enum FieldNumbers
Name Value
kTypeFieldNumber 1
kCategoriesFieldNumber 2
kUnitFieldNumber 3
kUnitNameFieldNumber 6
kUnitMultiplierFieldNumber 4
kIsIncrementalFieldNumber 5
kYAxisShareKeyFieldNumber 7

Defined at line 59 of file gen/third_party/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h