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

#include <track_event.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::TrackEvent:

Public Types

enum  : int32_t {
  kCategoriesFieldNumber = 22 , kNameFieldNumber = 23 , kTypeFieldNumber = 9 , kTrackUuidFieldNumber = 11 ,
  kFlowIdsFieldNumber = 47 , kTerminatingFlowIdsFieldNumber = 48 , kDebugAnnotationsFieldNumber = 4
}
 
using Decoder = TrackEvent_Decoder
 
using Type = ::perfetto::protos::pbzero::TrackEvent_Type
 
using FieldMetadata_Categories = ::protozero::proto_utils::FieldMetadata< 22, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, TrackEvent >
 
using FieldMetadata_Name = ::protozero::proto_utils::FieldMetadata< 23, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, TrackEvent >
 
using FieldMetadata_Type = ::protozero::proto_utils::FieldMetadata< 9, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kEnum, ::perfetto::protos::pbzero::TrackEvent_Type, TrackEvent >
 
using FieldMetadata_TrackUuid = ::protozero::proto_utils::FieldMetadata< 11, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TrackEvent >
 
using FieldMetadata_FlowIds = ::protozero::proto_utils::FieldMetadata< 47, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kFixed64, uint64_t, TrackEvent >
 
using FieldMetadata_TerminatingFlowIds = ::protozero::proto_utils::FieldMetadata< 48, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kFixed64, uint64_t, TrackEvent >
 
using FieldMetadata_DebugAnnotations = ::protozero::proto_utils::FieldMetadata< 4, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kMessage, DebugAnnotation, TrackEvent >
 

Public Member Functions

void add_categories (const char *data, size_t size)
 
void add_categories (::protozero::ConstChars chars)
 
void add_categories (std::string value)
 
void set_name (const char *data, size_t size)
 
void set_name (::protozero::ConstChars chars)
 
void set_name (std::string value)
 
void set_type (::perfetto::protos::pbzero::TrackEvent_Type value)
 
void set_track_uuid (uint64_t value)
 
void add_flow_ids (uint64_t value)
 
void add_terminating_flow_ids (uint64_t value)
 
template<typename T = DebugAnnotation>
Tadd_debug_annotations ()
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static const char * Type_Name (Type value)
 
static constexpr FieldMetadata_Categories kCategories ()
 
static constexpr FieldMetadata_Name kName ()
 
static constexpr FieldMetadata_Type kType ()
 
static constexpr FieldMetadata_TrackUuid kTrackUuid ()
 
static constexpr FieldMetadata_FlowIds kFlowIds ()
 
static constexpr FieldMetadata_TerminatingFlowIds kTerminatingFlowIds ()
 
static constexpr FieldMetadata_DebugAnnotations kDebugAnnotations ()
 

Static Public Attributes

static const Type TYPE_SLICE_BEGIN = Type::TYPE_SLICE_BEGIN
 
static const Type TYPE_SLICE_END = Type::TYPE_SLICE_END
 
static const Type TYPE_INSTANT = Type::TYPE_INSTANT
 

Detailed Description

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

Member Typedef Documentation

◆ Decoder

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

◆ FieldMetadata_Categories

using perfetto::protos::pbzero::TrackEvent::FieldMetadata_Categories = ::protozero::proto_utils::FieldMetadata< 22, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, TrackEvent>

Definition at line 123 of file track_event.pbzero.h.

◆ FieldMetadata_DebugAnnotations

using perfetto::protos::pbzero::TrackEvent::FieldMetadata_DebugAnnotations = ::protozero::proto_utils::FieldMetadata< 4, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kMessage, DebugAnnotation, TrackEvent>

Definition at line 289 of file track_event.pbzero.h.

◆ FieldMetadata_FlowIds

using perfetto::protos::pbzero::TrackEvent::FieldMetadata_FlowIds = ::protozero::proto_utils::FieldMetadata< 47, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kFixed64, uint64_t, TrackEvent>

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

◆ FieldMetadata_Name

using perfetto::protos::pbzero::TrackEvent::FieldMetadata_Name = ::protozero::proto_utils::FieldMetadata< 23, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, TrackEvent>

Definition at line 154 of file track_event.pbzero.h.

◆ FieldMetadata_TerminatingFlowIds

using perfetto::protos::pbzero::TrackEvent::FieldMetadata_TerminatingFlowIds = ::protozero::proto_utils::FieldMetadata< 48, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kFixed64, uint64_t, TrackEvent>

Definition at line 260 of file track_event.pbzero.h.

◆ FieldMetadata_TrackUuid

using perfetto::protos::pbzero::TrackEvent::FieldMetadata_TrackUuid = ::protozero::proto_utils::FieldMetadata< 11, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TrackEvent>

Definition at line 210 of file track_event.pbzero.h.

◆ FieldMetadata_Type

using perfetto::protos::pbzero::TrackEvent::FieldMetadata_Type = ::protozero::proto_utils::FieldMetadata< 9, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kEnum, ::perfetto::protos::pbzero::TrackEvent_Type, TrackEvent>

Definition at line 185 of file track_event.pbzero.h.

◆ Type

Definition at line 115 of file track_event.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kCategoriesFieldNumber 
kNameFieldNumber 
kTypeFieldNumber 
kTrackUuidFieldNumber 
kFlowIdsFieldNumber 
kTerminatingFlowIdsFieldNumber 
kDebugAnnotationsFieldNumber 

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

Member Function Documentation

◆ add_categories() [1/3]

void perfetto::protos::pbzero::TrackEvent::add_categories ( ::protozero::ConstChars  chars)
inline

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

141 {
142 AppendBytes(FieldMetadata_Categories::kFieldId, chars.data, chars.size);
143 }

◆ add_categories() [2/3]

void perfetto::protos::pbzero::TrackEvent::add_categories ( const char *  data,
size_t  size 
)
inline

Definition at line 138 of file track_event.pbzero.h.

138 {
139 AppendBytes(FieldMetadata_Categories::kFieldId, data, size);
140 }
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ add_categories() [3/3]

void perfetto::protos::pbzero::TrackEvent::add_categories ( std::string  value)
inline

Definition at line 144 of file track_event.pbzero.h.

144 {
145 static constexpr uint32_t field_id = FieldMetadata_Categories::kFieldId;
146 // Call the appropriate protozero::Message::Append(field_id, ...)
147 // method based on the type of the field.
148 ::protozero::internal::FieldWriter<
149 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
150 field_id,
151 value);
152 }
uint8_t value

◆ add_debug_annotations()

template<typename T = DebugAnnotation>
T * perfetto::protos::pbzero::TrackEvent::add_debug_annotations ( )
inline

Definition at line 308 of file track_event.pbzero.h.

308 {
309 return BeginNestedMessage<T>(4);
310 }

◆ add_flow_ids()

void perfetto::protos::pbzero::TrackEvent::add_flow_ids ( uint64_t  value)
inline

Definition at line 250 of file track_event.pbzero.h.

250 {
251 static constexpr uint32_t field_id = FieldMetadata_FlowIds::kFieldId;
252 // Call the appropriate protozero::Message::Append(field_id, ...)
253 // method based on the type of the field.
254 ::protozero::internal::FieldWriter<
255 ::protozero::proto_utils::ProtoSchemaType::kFixed64>::Append(*this,
256 field_id,
257 value);
258 }

◆ add_terminating_flow_ids()

void perfetto::protos::pbzero::TrackEvent::add_terminating_flow_ids ( uint64_t  value)
inline

Definition at line 278 of file track_event.pbzero.h.

278 {
279 static constexpr uint32_t field_id =
280 FieldMetadata_TerminatingFlowIds::kFieldId;
281 // Call the appropriate protozero::Message::Append(field_id, ...)
282 // method based on the type of the field.
283 ::protozero::internal::FieldWriter<
284 ::protozero::proto_utils::ProtoSchemaType::kFixed64>::Append(*this,
285 field_id,
286 value);
287 }

◆ GetName()

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

Definition at line 111 of file track_event.pbzero.h.

111 {
112 return ".perfetto.protos.TrackEvent";
113 }

◆ kCategories()

static constexpr FieldMetadata_Categories perfetto::protos::pbzero::TrackEvent::kCategories ( )
inlinestaticconstexpr

Definition at line 137 of file track_event.pbzero.h.

137{ return {}; }

◆ kDebugAnnotations()

static constexpr FieldMetadata_DebugAnnotations perfetto::protos::pbzero::TrackEvent::kDebugAnnotations ( )
inlinestaticconstexpr

Definition at line 304 of file track_event.pbzero.h.

304 {
305 return {};
306 }

◆ kFlowIds()

static constexpr FieldMetadata_FlowIds perfetto::protos::pbzero::TrackEvent::kFlowIds ( )
inlinestaticconstexpr

Definition at line 249 of file track_event.pbzero.h.

249{ return {}; }

◆ kName()

static constexpr FieldMetadata_Name perfetto::protos::pbzero::TrackEvent::kName ( )
inlinestaticconstexpr

Definition at line 168 of file track_event.pbzero.h.

168{ return {}; }

◆ kTerminatingFlowIds()

static constexpr FieldMetadata_TerminatingFlowIds perfetto::protos::pbzero::TrackEvent::kTerminatingFlowIds ( )
inlinestaticconstexpr

Definition at line 275 of file track_event.pbzero.h.

275 {
276 return {};
277 }

◆ kTrackUuid()

static constexpr FieldMetadata_TrackUuid perfetto::protos::pbzero::TrackEvent::kTrackUuid ( )
inlinestaticconstexpr

Definition at line 224 of file track_event.pbzero.h.

224{ return {}; }

◆ kType()

static constexpr FieldMetadata_Type perfetto::protos::pbzero::TrackEvent::kType ( )
inlinestaticconstexpr

Definition at line 199 of file track_event.pbzero.h.

199{ return {}; }

◆ set_name() [1/3]

void perfetto::protos::pbzero::TrackEvent::set_name ( ::protozero::ConstChars  chars)
inline

Definition at line 172 of file track_event.pbzero.h.

172 {
173 AppendBytes(FieldMetadata_Name::kFieldId, chars.data, chars.size);
174 }

◆ set_name() [2/3]

void perfetto::protos::pbzero::TrackEvent::set_name ( const char *  data,
size_t  size 
)
inline

Definition at line 169 of file track_event.pbzero.h.

169 {
170 AppendBytes(FieldMetadata_Name::kFieldId, data, size);
171 }

◆ set_name() [3/3]

void perfetto::protos::pbzero::TrackEvent::set_name ( std::string  value)
inline

Definition at line 175 of file track_event.pbzero.h.

175 {
176 static constexpr uint32_t field_id = FieldMetadata_Name::kFieldId;
177 // Call the appropriate protozero::Message::Append(field_id, ...)
178 // method based on the type of the field.
179 ::protozero::internal::FieldWriter<
180 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
181 field_id,
182 value);
183 }

◆ set_track_uuid()

void perfetto::protos::pbzero::TrackEvent::set_track_uuid ( uint64_t  value)
inline

Definition at line 225 of file track_event.pbzero.h.

225 {
226 static constexpr uint32_t field_id = FieldMetadata_TrackUuid::kFieldId;
227 // Call the appropriate protozero::Message::Append(field_id, ...)
228 // method based on the type of the field.
229 ::protozero::internal::FieldWriter<
231 field_id,
232 value);
233 }

◆ set_type()

void perfetto::protos::pbzero::TrackEvent::set_type ( ::perfetto::protos::pbzero::TrackEvent_Type  value)
inline

Definition at line 200 of file track_event.pbzero.h.

200 {
201 static constexpr uint32_t field_id = FieldMetadata_Type::kFieldId;
202 // Call the appropriate protozero::Message::Append(field_id, ...)
203 // method based on the type of the field.
204 ::protozero::internal::FieldWriter<
205 ::protozero::proto_utils::ProtoSchemaType::kEnum>::Append(*this,
206 field_id,
207 value);
208 }

◆ Type_Name()

static const char * perfetto::protos::pbzero::TrackEvent::Type_Name ( Type  value)
inlinestatic

Definition at line 116 of file track_event.pbzero.h.

116 {
118 }
PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE const char * TrackEvent_Type_Name(::perfetto::protos::pbzero::TrackEvent_Type value)

Member Data Documentation

◆ TYPE_INSTANT

const Type perfetto::protos::pbzero::TrackEvent::TYPE_INSTANT = Type::TYPE_INSTANT
static

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

◆ TYPE_SLICE_BEGIN

const Type perfetto::protos::pbzero::TrackEvent::TYPE_SLICE_BEGIN = Type::TYPE_SLICE_BEGIN
static

Definition at line 119 of file track_event.pbzero.h.

◆ TYPE_SLICE_END

const Type perfetto::protos::pbzero::TrackEvent::TYPE_SLICE_END = Type::TYPE_SLICE_END
static

Definition at line 120 of file track_event.pbzero.h.


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