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

#include <trace_packet.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::TracePacket:

Public Types

enum  : int32_t {
  kTimestampFieldNumber = 8 , kTimestampClockIdFieldNumber = 58 , kClockSnapshotFieldNumber = 6 , kTrackEventFieldNumber = 11 ,
  kTrackDescriptorFieldNumber = 60 , kPerfSampleFieldNumber = 66 , kTrustedPacketSequenceIdFieldNumber = 10 , kInternedDataFieldNumber = 12 ,
  kSequenceFlagsFieldNumber = 13
}
 
using Decoder = TracePacket_Decoder
 
using SequenceFlags = ::perfetto::protos::pbzero::TracePacket_SequenceFlags
 
using FieldMetadata_Timestamp = ::protozero::proto_utils::FieldMetadata< 8, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TracePacket >
 
using FieldMetadata_TimestampClockId = ::protozero::proto_utils::FieldMetadata< 58, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, TracePacket >
 
using FieldMetadata_ClockSnapshot = ::protozero::proto_utils::FieldMetadata< 6, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, ClockSnapshot, TracePacket >
 
using FieldMetadata_TrackEvent = ::protozero::proto_utils::FieldMetadata< 11, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, TrackEvent, TracePacket >
 
using FieldMetadata_TrackDescriptor = ::protozero::proto_utils::FieldMetadata< 60, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, TrackDescriptor, TracePacket >
 
using FieldMetadata_PerfSample = ::protozero::proto_utils::FieldMetadata< 66, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, PerfSample, TracePacket >
 
using FieldMetadata_TrustedPacketSequenceId = ::protozero::proto_utils::FieldMetadata< 10, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, TracePacket >
 
using FieldMetadata_InternedData = ::protozero::proto_utils::FieldMetadata< 12, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, InternedData, TracePacket >
 
using FieldMetadata_SequenceFlags = ::protozero::proto_utils::FieldMetadata< 13, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, TracePacket >
 

Public Member Functions

void set_timestamp (uint64_t value)
 
void set_timestamp_clock_id (uint32_t value)
 
template<typename T = ClockSnapshot>
Tset_clock_snapshot ()
 
template<typename T = TrackEvent>
Tset_track_event ()
 
template<typename T = TrackDescriptor>
Tset_track_descriptor ()
 
template<typename T = PerfSample>
Tset_perf_sample ()
 
void set_trusted_packet_sequence_id (uint32_t value)
 
template<typename T = InternedData>
Tset_interned_data ()
 
void set_sequence_flags (uint32_t value)
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static const char * SequenceFlags_Name (SequenceFlags value)
 
static constexpr FieldMetadata_Timestamp kTimestamp ()
 
static constexpr FieldMetadata_TimestampClockId kTimestampClockId ()
 
static constexpr FieldMetadata_ClockSnapshot kClockSnapshot ()
 
static constexpr FieldMetadata_TrackEvent kTrackEvent ()
 
static constexpr FieldMetadata_TrackDescriptor kTrackDescriptor ()
 
static constexpr FieldMetadata_PerfSample kPerfSample ()
 
static constexpr FieldMetadata_TrustedPacketSequenceId kTrustedPacketSequenceId ()
 
static constexpr FieldMetadata_InternedData kInternedData ()
 
static constexpr FieldMetadata_SequenceFlags kSequenceFlags ()
 

Static Public Attributes

static const SequenceFlags SEQ_UNSPECIFIED = SequenceFlags::SEQ_UNSPECIFIED
 
static const SequenceFlags SEQ_INCREMENTAL_STATE_CLEARED
 
static const SequenceFlags SEQ_NEEDS_INCREMENTAL_STATE
 

Detailed Description

Definition at line 99 of file trace_packet.pbzero.h.

Member Typedef Documentation

◆ Decoder

Definition at line 101 of file trace_packet.pbzero.h.

◆ FieldMetadata_ClockSnapshot

using perfetto::protos::pbzero::TracePacket::FieldMetadata_ClockSnapshot = ::protozero::proto_utils::FieldMetadata< 6, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, ClockSnapshot, TracePacket>

Definition at line 181 of file trace_packet.pbzero.h.

◆ FieldMetadata_InternedData

using perfetto::protos::pbzero::TracePacket::FieldMetadata_InternedData = ::protozero::proto_utils::FieldMetadata< 12, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, InternedData, TracePacket>

Definition at line 293 of file trace_packet.pbzero.h.

◆ FieldMetadata_PerfSample

using perfetto::protos::pbzero::TracePacket::FieldMetadata_PerfSample = ::protozero::proto_utils::FieldMetadata< 66, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, PerfSample, TracePacket>

Definition at line 243 of file trace_packet.pbzero.h.

◆ FieldMetadata_SequenceFlags

using perfetto::protos::pbzero::TracePacket::FieldMetadata_SequenceFlags = ::protozero::proto_utils::FieldMetadata< 13, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, TracePacket>

Definition at line 313 of file trace_packet.pbzero.h.

◆ FieldMetadata_Timestamp

using perfetto::protos::pbzero::TracePacket::FieldMetadata_Timestamp = ::protozero::proto_utils::FieldMetadata< 8, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TracePacket>

Definition at line 127 of file trace_packet.pbzero.h.

◆ FieldMetadata_TimestampClockId

using perfetto::protos::pbzero::TracePacket::FieldMetadata_TimestampClockId = ::protozero::proto_utils::FieldMetadata< 58, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, TracePacket>

Definition at line 152 of file trace_packet.pbzero.h.

◆ FieldMetadata_TrackDescriptor

using perfetto::protos::pbzero::TracePacket::FieldMetadata_TrackDescriptor = ::protozero::proto_utils::FieldMetadata< 60, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, TrackDescriptor, TracePacket>

Definition at line 221 of file trace_packet.pbzero.h.

◆ FieldMetadata_TrackEvent

using perfetto::protos::pbzero::TracePacket::FieldMetadata_TrackEvent = ::protozero::proto_utils::FieldMetadata< 11, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, TrackEvent, TracePacket>

Definition at line 201 of file trace_packet.pbzero.h.

◆ FieldMetadata_TrustedPacketSequenceId

using perfetto::protos::pbzero::TracePacket::FieldMetadata_TrustedPacketSequenceId = ::protozero::proto_utils::FieldMetadata< 10, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, TracePacket>

Definition at line 263 of file trace_packet.pbzero.h.

◆ SequenceFlags

Definition at line 117 of file trace_packet.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kTimestampFieldNumber 
kTimestampClockIdFieldNumber 
kClockSnapshotFieldNumber 
kTrackEventFieldNumber 
kTrackDescriptorFieldNumber 
kPerfSampleFieldNumber 
kTrustedPacketSequenceIdFieldNumber 
kInternedDataFieldNumber 
kSequenceFlagsFieldNumber 

Definition at line 102 of file trace_packet.pbzero.h.

102 : int32_t {
112 };

Member Function Documentation

◆ GetName()

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

Definition at line 113 of file trace_packet.pbzero.h.

113 {
114 return ".perfetto.protos.TracePacket";
115 }

◆ kClockSnapshot()

static constexpr FieldMetadata_ClockSnapshot perfetto::protos::pbzero::TracePacket::kClockSnapshot ( )
inlinestaticconstexpr

Definition at line 195 of file trace_packet.pbzero.h.

195{ return {}; }

◆ kInternedData()

static constexpr FieldMetadata_InternedData perfetto::protos::pbzero::TracePacket::kInternedData ( )
inlinestaticconstexpr

Definition at line 307 of file trace_packet.pbzero.h.

307{ return {}; }

◆ kPerfSample()

static constexpr FieldMetadata_PerfSample perfetto::protos::pbzero::TracePacket::kPerfSample ( )
inlinestaticconstexpr

Definition at line 257 of file trace_packet.pbzero.h.

257{ return {}; }

◆ kSequenceFlags()

static constexpr FieldMetadata_SequenceFlags perfetto::protos::pbzero::TracePacket::kSequenceFlags ( )
inlinestaticconstexpr

Definition at line 327 of file trace_packet.pbzero.h.

327{ return {}; }

◆ kTimestamp()

static constexpr FieldMetadata_Timestamp perfetto::protos::pbzero::TracePacket::kTimestamp ( )
inlinestaticconstexpr

Definition at line 141 of file trace_packet.pbzero.h.

141{ return {}; }

◆ kTimestampClockId()

static constexpr FieldMetadata_TimestampClockId perfetto::protos::pbzero::TracePacket::kTimestampClockId ( )
inlinestaticconstexpr

Definition at line 167 of file trace_packet.pbzero.h.

167 {
168 return {};
169 }

◆ kTrackDescriptor()

static constexpr FieldMetadata_TrackDescriptor perfetto::protos::pbzero::TracePacket::kTrackDescriptor ( )
inlinestaticconstexpr

Definition at line 235 of file trace_packet.pbzero.h.

235 {
236 return {};
237 }

◆ kTrackEvent()

static constexpr FieldMetadata_TrackEvent perfetto::protos::pbzero::TracePacket::kTrackEvent ( )
inlinestaticconstexpr

Definition at line 215 of file trace_packet.pbzero.h.

215{ return {}; }

◆ kTrustedPacketSequenceId()

static constexpr FieldMetadata_TrustedPacketSequenceId perfetto::protos::pbzero::TracePacket::kTrustedPacketSequenceId ( )
inlinestaticconstexpr

Definition at line 279 of file trace_packet.pbzero.h.

279 {
280 return {};
281 }

◆ SequenceFlags_Name()

static const char * perfetto::protos::pbzero::TracePacket::SequenceFlags_Name ( SequenceFlags  value)
inlinestatic

Definition at line 118 of file trace_packet.pbzero.h.

118 {
120 }
uint8_t value
PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE const char * TracePacket_SequenceFlags_Name(::perfetto::protos::pbzero::TracePacket_SequenceFlags value)

◆ set_clock_snapshot()

template<typename T = ClockSnapshot>
T * perfetto::protos::pbzero::TracePacket::set_clock_snapshot ( )
inline

Definition at line 197 of file trace_packet.pbzero.h.

197 {
198 return BeginNestedMessage<T>(6);
199 }

◆ set_interned_data()

template<typename T = InternedData>
T * perfetto::protos::pbzero::TracePacket::set_interned_data ( )
inline

Definition at line 309 of file trace_packet.pbzero.h.

309 {
310 return BeginNestedMessage<T>(12);
311 }

◆ set_perf_sample()

template<typename T = PerfSample>
T * perfetto::protos::pbzero::TracePacket::set_perf_sample ( )
inline

Definition at line 259 of file trace_packet.pbzero.h.

259 {
260 return BeginNestedMessage<T>(66);
261 }

◆ set_sequence_flags()

void perfetto::protos::pbzero::TracePacket::set_sequence_flags ( uint32_t  value)
inline

Definition at line 328 of file trace_packet.pbzero.h.

328 {
329 static constexpr uint32_t field_id = FieldMetadata_SequenceFlags::kFieldId;
330 // Call the appropriate protozero::Message::Append(field_id, ...)
331 // method based on the type of the field.
332 ::protozero::internal::FieldWriter<
334 field_id,
335 value);
336 }

◆ set_timestamp()

void perfetto::protos::pbzero::TracePacket::set_timestamp ( uint64_t  value)
inline

Definition at line 142 of file trace_packet.pbzero.h.

142 {
143 static constexpr uint32_t field_id = FieldMetadata_Timestamp::kFieldId;
144 // Call the appropriate protozero::Message::Append(field_id, ...)
145 // method based on the type of the field.
146 ::protozero::internal::FieldWriter<
148 field_id,
149 value);
150 }

◆ set_timestamp_clock_id()

void perfetto::protos::pbzero::TracePacket::set_timestamp_clock_id ( uint32_t  value)
inline

Definition at line 170 of file trace_packet.pbzero.h.

170 {
171 static constexpr uint32_t field_id =
172 FieldMetadata_TimestampClockId::kFieldId;
173 // Call the appropriate protozero::Message::Append(field_id, ...)
174 // method based on the type of the field.
175 ::protozero::internal::FieldWriter<
177 field_id,
178 value);
179 }

◆ set_track_descriptor()

template<typename T = TrackDescriptor>
T * perfetto::protos::pbzero::TracePacket::set_track_descriptor ( )
inline

Definition at line 239 of file trace_packet.pbzero.h.

239 {
240 return BeginNestedMessage<T>(60);
241 }

◆ set_track_event()

template<typename T = TrackEvent>
T * perfetto::protos::pbzero::TracePacket::set_track_event ( )
inline

Definition at line 217 of file trace_packet.pbzero.h.

217 {
218 return BeginNestedMessage<T>(11);
219 }

◆ set_trusted_packet_sequence_id()

void perfetto::protos::pbzero::TracePacket::set_trusted_packet_sequence_id ( uint32_t  value)
inline

Definition at line 282 of file trace_packet.pbzero.h.

282 {
283 static constexpr uint32_t field_id =
284 FieldMetadata_TrustedPacketSequenceId::kFieldId;
285 // Call the appropriate protozero::Message::Append(field_id, ...)
286 // method based on the type of the field.
287 ::protozero::internal::FieldWriter<
289 field_id,
290 value);
291 }

Member Data Documentation

◆ SEQ_INCREMENTAL_STATE_CLEARED

const SequenceFlags perfetto::protos::pbzero::TracePacket::SEQ_INCREMENTAL_STATE_CLEARED
static

◆ SEQ_NEEDS_INCREMENTAL_STATE

const SequenceFlags perfetto::protos::pbzero::TracePacket::SEQ_NEEDS_INCREMENTAL_STATE
static

◆ SEQ_UNSPECIFIED

const SequenceFlags perfetto::protos::pbzero::TracePacket::SEQ_UNSPECIFIED = SequenceFlags::SEQ_UNSPECIFIED
static

Definition at line 121 of file trace_packet.pbzero.h.


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