Lines Matching refs:pbzero
61 perfetto::protos::pbzero::GpuCounterConfig::Decoder config(config_raw);
114 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME);
152 void add_group(perfetto::protos::pbzero::GpuCounterDescriptor *desc,
176 void add_descriptors(perfetto::protos::pbzero::GpuCounterEvent *event,
195 auto units = perfetto::protos::pbzero::GpuCounterDescriptor::NONE;
198 units = perfetto::protos::pbzero::GpuCounterDescriptor::PERCENT;
201 units = perfetto::protos::pbzero::GpuCounterDescriptor::BYTE;
204 units = perfetto::protos::pbzero::GpuCounterDescriptor::HERTZ;
207 units = perfetto::protos::pbzero::GpuCounterDescriptor::NONE;
217 void add_samples(perfetto::protos::pbzero::GpuCounterEvent &event, const Driver &driver)
239 void add_timestamp(perfetto::protos::pbzero::ClockSnapshot *event, const Driver *driver)
242 if (perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME == gpu_clock_id)
252 clock->set_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME);
266 using namespace perfetto::protos::pbzero;
274 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME);
283 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME);
296 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME);
343 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME);