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

#include <process_descriptor.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::ProcessDescriptor:

Public Types

enum  : int32_t { kPidFieldNumber = 1 , kProcessNameFieldNumber = 6 }
 
using Decoder = ProcessDescriptor_Decoder
 
using FieldMetadata_Pid = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kInt32, int32_t, ProcessDescriptor >
 
using FieldMetadata_ProcessName = ::protozero::proto_utils::FieldMetadata< 6, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, ProcessDescriptor >
 

Public Member Functions

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

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_Pid kPid ()
 
static constexpr FieldMetadata_ProcessName kProcessName ()
 

Detailed Description

Definition at line 44 of file process_descriptor.pbzero.h.

Member Typedef Documentation

◆ Decoder

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

◆ FieldMetadata_Pid

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

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

◆ FieldMetadata_ProcessName

using perfetto::protos::pbzero::ProcessDescriptor::FieldMetadata_ProcessName = ::protozero::proto_utils::FieldMetadata< 6, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, ProcessDescriptor>

Definition at line 80 of file process_descriptor.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kPidFieldNumber 
kProcessNameFieldNumber 

Definition at line 47 of file process_descriptor.pbzero.h.

Member Function Documentation

◆ GetName()

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

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

51 {
52 return ".perfetto.protos.ProcessDescriptor";
53 }

◆ kPid()

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

Definition at line 69 of file process_descriptor.pbzero.h.

69{ return {}; }

◆ kProcessName()

static constexpr FieldMetadata_ProcessName perfetto::protos::pbzero::ProcessDescriptor::kProcessName ( )
inlinestaticconstexpr

Definition at line 94 of file process_descriptor.pbzero.h.

94{ return {}; }

◆ set_pid()

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

Definition at line 70 of file process_descriptor.pbzero.h.

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

◆ set_process_name() [1/3]

void perfetto::protos::pbzero::ProcessDescriptor::set_process_name ( ::protozero::ConstChars  chars)
inline

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

98 {
99 AppendBytes(FieldMetadata_ProcessName::kFieldId, chars.data, chars.size);
100 }

◆ set_process_name() [2/3]

void perfetto::protos::pbzero::ProcessDescriptor::set_process_name ( const char *  data,
size_t  size 
)
inline

Definition at line 95 of file process_descriptor.pbzero.h.

95 {
96 AppendBytes(FieldMetadata_ProcessName::kFieldId, data, size);
97 }
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_process_name() [3/3]

void perfetto::protos::pbzero::ProcessDescriptor::set_process_name ( std::string  value)
inline

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

101 {
102 static constexpr uint32_t field_id = FieldMetadata_ProcessName::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::kString>::Append(*this,
107 field_id,
108 value);
109 }

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