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

#include <thread_descriptor.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::ThreadDescriptor:

Public Types

enum  : int32_t { kPidFieldNumber = 1 , kTidFieldNumber = 2 , kThreadNameFieldNumber = 5 }
 
using Decoder = ThreadDescriptor_Decoder
 
using FieldMetadata_Pid = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kInt32, int32_t, ThreadDescriptor >
 
using FieldMetadata_Tid = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kInt32, int32_t, ThreadDescriptor >
 
using FieldMetadata_ThreadName = ::protozero::proto_utils::FieldMetadata< 5, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, ThreadDescriptor >
 

Public Member Functions

void set_pid (int32_t value)
 
void set_tid (int32_t value)
 
void set_thread_name (const char *data, size_t size)
 
void set_thread_name (::protozero::ConstChars chars)
 
void set_thread_name (std::string value)
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_Pid kPid ()
 
static constexpr FieldMetadata_Tid kTid ()
 
static constexpr FieldMetadata_ThreadName kThreadName ()
 

Detailed Description

Definition at line 46 of file thread_descriptor.pbzero.h.

Member Typedef Documentation

◆ Decoder

Definition at line 48 of file thread_descriptor.pbzero.h.

◆ FieldMetadata_Pid

using perfetto::protos::pbzero::ThreadDescriptor::FieldMetadata_Pid = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kInt32, int32_t, ThreadDescriptor>

Definition at line 58 of file thread_descriptor.pbzero.h.

◆ FieldMetadata_ThreadName

using perfetto::protos::pbzero::ThreadDescriptor::FieldMetadata_ThreadName = ::protozero::proto_utils::FieldMetadata< 5, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, ThreadDescriptor>

Definition at line 108 of file thread_descriptor.pbzero.h.

◆ FieldMetadata_Tid

using perfetto::protos::pbzero::ThreadDescriptor::FieldMetadata_Tid = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kInt32, int32_t, ThreadDescriptor>

Definition at line 83 of file thread_descriptor.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kPidFieldNumber 
kTidFieldNumber 
kThreadNameFieldNumber 

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

Member Function Documentation

◆ GetName()

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

Definition at line 54 of file thread_descriptor.pbzero.h.

54 {
55 return ".perfetto.protos.ThreadDescriptor";
56 }

◆ kPid()

static constexpr FieldMetadata_Pid perfetto::protos::pbzero::ThreadDescriptor::kPid ( )
inlinestaticconstexpr

Definition at line 72 of file thread_descriptor.pbzero.h.

72{ return {}; }

◆ kThreadName()

static constexpr FieldMetadata_ThreadName perfetto::protos::pbzero::ThreadDescriptor::kThreadName ( )
inlinestaticconstexpr

Definition at line 122 of file thread_descriptor.pbzero.h.

122{ return {}; }

◆ kTid()

static constexpr FieldMetadata_Tid perfetto::protos::pbzero::ThreadDescriptor::kTid ( )
inlinestaticconstexpr

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

97{ return {}; }

◆ set_pid()

void perfetto::protos::pbzero::ThreadDescriptor::set_pid ( int32_t  value)
inline

Definition at line 73 of file thread_descriptor.pbzero.h.

73 {
74 static constexpr uint32_t field_id = FieldMetadata_Pid::kFieldId;
75 // Call the appropriate protozero::Message::Append(field_id, ...)
76 // method based on the type of the field.
77 ::protozero::internal::FieldWriter<
79 field_id,
80 value);
81 }
uint8_t value

◆ set_thread_name() [1/3]

void perfetto::protos::pbzero::ThreadDescriptor::set_thread_name ( ::protozero::ConstChars  chars)
inline

Definition at line 126 of file thread_descriptor.pbzero.h.

126 {
127 AppendBytes(FieldMetadata_ThreadName::kFieldId, chars.data, chars.size);
128 }

◆ set_thread_name() [2/3]

void perfetto::protos::pbzero::ThreadDescriptor::set_thread_name ( const char *  data,
size_t  size 
)
inline

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

123 {
124 AppendBytes(FieldMetadata_ThreadName::kFieldId, data, size);
125 }
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_thread_name() [3/3]

void perfetto::protos::pbzero::ThreadDescriptor::set_thread_name ( std::string  value)
inline

Definition at line 129 of file thread_descriptor.pbzero.h.

129 {
130 static constexpr uint32_t field_id = FieldMetadata_ThreadName::kFieldId;
131 // Call the appropriate protozero::Message::Append(field_id, ...)
132 // method based on the type of the field.
133 ::protozero::internal::FieldWriter<
134 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
135 field_id,
136 value);
137 }

◆ set_tid()

void perfetto::protos::pbzero::ThreadDescriptor::set_tid ( int32_t  value)
inline

Definition at line 98 of file thread_descriptor.pbzero.h.

98 {
99 static constexpr uint32_t field_id = FieldMetadata_Tid::kFieldId;
100 // Call the appropriate protozero::Message::Append(field_id, ...)
101 // method based on the type of the field.
102 ::protozero::internal::FieldWriter<
104 field_id,
105 value);
106 }

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