Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Static Public Member Functions | List of all members
perfetto::protos::pbzero::ClockSnapshot Class Reference

#include <clock_snapshot.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::ClockSnapshot:

Public Types

enum  : int32_t { kClocksFieldNumber = 1 , kPrimaryTraceClockFieldNumber = 2 }
 
using Decoder = ClockSnapshot_Decoder
 
using Clock = ::perfetto::protos::pbzero::ClockSnapshot_Clock
 
using FieldMetadata_Clocks = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kMessage, ClockSnapshot_Clock, ClockSnapshot >
 
using FieldMetadata_PrimaryTraceClock = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kEnum, ::perfetto::protos::pbzero::BuiltinClock, ClockSnapshot >
 

Public Member Functions

template<typename T = ClockSnapshot_Clock>
Tadd_clocks ()
 
void set_primary_trace_clock (::perfetto::protos::pbzero::BuiltinClock value)
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_Clocks kClocks ()
 
static constexpr FieldMetadata_PrimaryTraceClock kPrimaryTraceClock ()
 

Detailed Description

Definition at line 49 of file clock_snapshot.pbzero.h.

Member Typedef Documentation

◆ Clock

Definition at line 60 of file clock_snapshot.pbzero.h.

◆ Decoder

Definition at line 51 of file clock_snapshot.pbzero.h.

◆ FieldMetadata_Clocks

using perfetto::protos::pbzero::ClockSnapshot::FieldMetadata_Clocks = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kMessage, ClockSnapshot_Clock, ClockSnapshot>

Definition at line 62 of file clock_snapshot.pbzero.h.

◆ FieldMetadata_PrimaryTraceClock

using perfetto::protos::pbzero::ClockSnapshot::FieldMetadata_PrimaryTraceClock = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kEnum, ::perfetto::protos::pbzero::BuiltinClock, ClockSnapshot>

Definition at line 82 of file clock_snapshot.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kClocksFieldNumber 
kPrimaryTraceClockFieldNumber 

Definition at line 52 of file clock_snapshot.pbzero.h.

Member Function Documentation

◆ add_clocks()

template<typename T = ClockSnapshot_Clock>
T * perfetto::protos::pbzero::ClockSnapshot::add_clocks ( )
inline

Definition at line 78 of file clock_snapshot.pbzero.h.

78 {
79 return BeginNestedMessage<T>(1);
80 }

◆ GetName()

static constexpr const char * perfetto::protos::pbzero::ClockSnapshot::GetName ( )
inlinestaticconstexpr

Definition at line 56 of file clock_snapshot.pbzero.h.

56 {
57 return ".perfetto.protos.ClockSnapshot";
58 }

◆ kClocks()

static constexpr FieldMetadata_Clocks perfetto::protos::pbzero::ClockSnapshot::kClocks ( )
inlinestaticconstexpr

Definition at line 76 of file clock_snapshot.pbzero.h.

76{ return {}; }

◆ kPrimaryTraceClock()

static constexpr FieldMetadata_PrimaryTraceClock perfetto::protos::pbzero::ClockSnapshot::kPrimaryTraceClock ( )
inlinestaticconstexpr

Definition at line 97 of file clock_snapshot.pbzero.h.

97 {
98 return {};
99 }

◆ set_primary_trace_clock()

void perfetto::protos::pbzero::ClockSnapshot::set_primary_trace_clock ( ::perfetto::protos::pbzero::BuiltinClock  value)
inline

Definition at line 100 of file clock_snapshot.pbzero.h.

100 {
101 static constexpr uint32_t field_id =
102 FieldMetadata_PrimaryTraceClock::kFieldId;
103 // Call the appropriate protozero::Message::Append(field_id, ...)
104 // method based on the type of the field.
105 ::protozero::internal::FieldWriter<
106 ::protozero::proto_utils::ProtoSchemaType::kEnum>::Append(*this,
107 field_id,
108 value);
109 }
uint8_t value

The documentation for this class was generated from the following file: