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

#include <track_descriptor.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::TrackDescriptor:

Public Types

enum  : int32_t {
  kUuidFieldNumber = 1 , kParentUuidFieldNumber = 5 , kNameFieldNumber = 2 , kProcessFieldNumber = 3 ,
  kThreadFieldNumber = 4
}
 
using Decoder = TrackDescriptor_Decoder
 
using FieldMetadata_Uuid = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TrackDescriptor >
 
using FieldMetadata_ParentUuid = ::protozero::proto_utils::FieldMetadata< 5, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TrackDescriptor >
 
using FieldMetadata_Name = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, TrackDescriptor >
 
using FieldMetadata_Process = ::protozero::proto_utils::FieldMetadata< 3, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, ProcessDescriptor, TrackDescriptor >
 
using FieldMetadata_Thread = ::protozero::proto_utils::FieldMetadata< 4, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, ThreadDescriptor, TrackDescriptor >
 

Public Member Functions

void set_uuid (uint64_t value)
 
void set_parent_uuid (uint64_t value)
 
void set_name (const char *data, size_t size)
 
void set_name (::protozero::ConstChars chars)
 
void set_name (std::string value)
 
template<typename T = ProcessDescriptor>
Tset_process ()
 
template<typename T = ThreadDescriptor>
Tset_thread ()
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_Uuid kUuid ()
 
static constexpr FieldMetadata_ParentUuid kParentUuid ()
 
static constexpr FieldMetadata_Name kName ()
 
static constexpr FieldMetadata_Process kProcess ()
 
static constexpr FieldMetadata_Thread kThread ()
 

Detailed Description

Definition at line 53 of file track_descriptor.pbzero.h.

Member Typedef Documentation

◆ Decoder

Definition at line 55 of file track_descriptor.pbzero.h.

◆ FieldMetadata_Name

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

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

◆ FieldMetadata_ParentUuid

using perfetto::protos::pbzero::TrackDescriptor::FieldMetadata_ParentUuid = ::protozero::proto_utils::FieldMetadata< 5, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TrackDescriptor>

Definition at line 92 of file track_descriptor.pbzero.h.

◆ FieldMetadata_Process

using perfetto::protos::pbzero::TrackDescriptor::FieldMetadata_Process = ::protozero::proto_utils::FieldMetadata< 3, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, ProcessDescriptor, TrackDescriptor>

Definition at line 148 of file track_descriptor.pbzero.h.

◆ FieldMetadata_Thread

using perfetto::protos::pbzero::TrackDescriptor::FieldMetadata_Thread = ::protozero::proto_utils::FieldMetadata< 4, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kMessage, ThreadDescriptor, TrackDescriptor>

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

◆ FieldMetadata_Uuid

using perfetto::protos::pbzero::TrackDescriptor::FieldMetadata_Uuid = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, TrackDescriptor>

Definition at line 67 of file track_descriptor.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kUuidFieldNumber 
kParentUuidFieldNumber 
kNameFieldNumber 
kProcessFieldNumber 
kThreadFieldNumber 

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

Member Function Documentation

◆ GetName()

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

Definition at line 63 of file track_descriptor.pbzero.h.

63 {
64 return ".perfetto.protos.TrackDescriptor";
65 }

◆ kName()

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

Definition at line 131 of file track_descriptor.pbzero.h.

131{ return {}; }

◆ kParentUuid()

static constexpr FieldMetadata_ParentUuid perfetto::protos::pbzero::TrackDescriptor::kParentUuid ( )
inlinestaticconstexpr

Definition at line 106 of file track_descriptor.pbzero.h.

106{ return {}; }

◆ kProcess()

static constexpr FieldMetadata_Process perfetto::protos::pbzero::TrackDescriptor::kProcess ( )
inlinestaticconstexpr

Definition at line 162 of file track_descriptor.pbzero.h.

162{ return {}; }

◆ kThread()

static constexpr FieldMetadata_Thread perfetto::protos::pbzero::TrackDescriptor::kThread ( )
inlinestaticconstexpr

Definition at line 182 of file track_descriptor.pbzero.h.

182{ return {}; }

◆ kUuid()

static constexpr FieldMetadata_Uuid perfetto::protos::pbzero::TrackDescriptor::kUuid ( )
inlinestaticconstexpr

Definition at line 81 of file track_descriptor.pbzero.h.

81{ return {}; }

◆ set_name() [1/3]

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

Definition at line 135 of file track_descriptor.pbzero.h.

135 {
136 AppendBytes(FieldMetadata_Name::kFieldId, chars.data, chars.size);
137 }

◆ set_name() [2/3]

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

Definition at line 132 of file track_descriptor.pbzero.h.

132 {
133 AppendBytes(FieldMetadata_Name::kFieldId, data, size);
134 }
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

◆ set_name() [3/3]

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

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

138 {
139 static constexpr uint32_t field_id = FieldMetadata_Name::kFieldId;
140 // Call the appropriate protozero::Message::Append(field_id, ...)
141 // method based on the type of the field.
142 ::protozero::internal::FieldWriter<
143 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
144 field_id,
145 value);
146 }
uint8_t value

◆ set_parent_uuid()

void perfetto::protos::pbzero::TrackDescriptor::set_parent_uuid ( uint64_t  value)
inline

Definition at line 107 of file track_descriptor.pbzero.h.

107 {
108 static constexpr uint32_t field_id = FieldMetadata_ParentUuid::kFieldId;
109 // Call the appropriate protozero::Message::Append(field_id, ...)
110 // method based on the type of the field.
111 ::protozero::internal::FieldWriter<
113 field_id,
114 value);
115 }

◆ set_process()

template<typename T = ProcessDescriptor>
T * perfetto::protos::pbzero::TrackDescriptor::set_process ( )
inline

Definition at line 164 of file track_descriptor.pbzero.h.

164 {
165 return BeginNestedMessage<T>(3);
166 }

◆ set_thread()

template<typename T = ThreadDescriptor>
T * perfetto::protos::pbzero::TrackDescriptor::set_thread ( )
inline

Definition at line 184 of file track_descriptor.pbzero.h.

184 {
185 return BeginNestedMessage<T>(4);
186 }

◆ set_uuid()

void perfetto::protos::pbzero::TrackDescriptor::set_uuid ( uint64_t  value)
inline

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

82 {
83 static constexpr uint32_t field_id = FieldMetadata_Uuid::kFieldId;
84 // Call the appropriate protozero::Message::Append(field_id, ...)
85 // method based on the type of the field.
86 ::protozero::internal::FieldWriter<
88 field_id,
89 value);
90 }

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