Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
perfetto::protos::pbzero::PerfSample Class Reference

#include <profile_packet.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::PerfSample:

Public Types

enum  : int32_t { kCpuFieldNumber = 1 , kPidFieldNumber = 2 , kTidFieldNumber = 3 , kCallstackIidFieldNumber = 4 }
 
using Decoder = PerfSample_Decoder
 
using FieldMetadata_Cpu = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, PerfSample >
 
using FieldMetadata_Pid = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, PerfSample >
 
using FieldMetadata_Tid = ::protozero::proto_utils::FieldMetadata< 3, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, PerfSample >
 
using FieldMetadata_CallstackIid = ::protozero::proto_utils::FieldMetadata< 4, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, PerfSample >
 

Public Member Functions

void set_cpu (uint32_t value)
 
void set_pid (uint32_t value)
 
void set_tid (uint32_t value)
 
void set_callstack_iid (uint64_t value)
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_Cpu kCpu ()
 
static constexpr FieldMetadata_Pid kPid ()
 
static constexpr FieldMetadata_Tid kTid ()
 
static constexpr FieldMetadata_CallstackIid kCallstackIid ()
 

Detailed Description

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

Member Typedef Documentation

◆ Decoder

Definition at line 50 of file profile_packet.pbzero.h.

◆ FieldMetadata_CallstackIid

using perfetto::protos::pbzero::PerfSample::FieldMetadata_CallstackIid = ::protozero::proto_utils::FieldMetadata< 4, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, PerfSample>

Definition at line 136 of file profile_packet.pbzero.h.

◆ FieldMetadata_Cpu

using perfetto::protos::pbzero::PerfSample::FieldMetadata_Cpu = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, PerfSample>

Definition at line 61 of file profile_packet.pbzero.h.

◆ FieldMetadata_Pid

using perfetto::protos::pbzero::PerfSample::FieldMetadata_Pid = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, PerfSample>

Definition at line 86 of file profile_packet.pbzero.h.

◆ FieldMetadata_Tid

using perfetto::protos::pbzero::PerfSample::FieldMetadata_Tid = ::protozero::proto_utils::FieldMetadata< 3, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint32, uint32_t, PerfSample>

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kCpuFieldNumber 
kPidFieldNumber 
kTidFieldNumber 
kCallstackIidFieldNumber 

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

Member Function Documentation

◆ GetName()

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

Definition at line 57 of file profile_packet.pbzero.h.

57 {
58 return ".perfetto.protos.PerfSample";
59 }

◆ kCallstackIid()

static constexpr FieldMetadata_CallstackIid perfetto::protos::pbzero::PerfSample::kCallstackIid ( )
inlinestaticconstexpr

Definition at line 150 of file profile_packet.pbzero.h.

150{ return {}; }

◆ kCpu()

static constexpr FieldMetadata_Cpu perfetto::protos::pbzero::PerfSample::kCpu ( )
inlinestaticconstexpr

Definition at line 75 of file profile_packet.pbzero.h.

75{ return {}; }

◆ kPid()

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

Definition at line 100 of file profile_packet.pbzero.h.

100{ return {}; }

◆ kTid()

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

Definition at line 125 of file profile_packet.pbzero.h.

125{ return {}; }

◆ set_callstack_iid()

void perfetto::protos::pbzero::PerfSample::set_callstack_iid ( uint64_t  value)
inline

Definition at line 151 of file profile_packet.pbzero.h.

151 {
152 static constexpr uint32_t field_id = FieldMetadata_CallstackIid::kFieldId;
153 // Call the appropriate protozero::Message::Append(field_id, ...)
154 // method based on the type of the field.
155 ::protozero::internal::FieldWriter<
156 ::protozero::proto_utils::ProtoSchemaType::kUint64>::Append(*this,
157 field_id,
158 value);
159 }

◆ set_cpu()

void perfetto::protos::pbzero::PerfSample::set_cpu ( uint32_t  value)
inline

Definition at line 76 of file profile_packet.pbzero.h.

76 {
77 static constexpr uint32_t field_id = FieldMetadata_Cpu::kFieldId;
78 // Call the appropriate protozero::Message::Append(field_id, ...)
79 // method based on the type of the field.
80 ::protozero::internal::FieldWriter<
81 ::protozero::proto_utils::ProtoSchemaType::kUint32>::Append(*this,
82 field_id,
83 value);
84 }

◆ set_pid()

void perfetto::protos::pbzero::PerfSample::set_pid ( uint32_t  value)
inline

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

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

◆ set_tid()

void perfetto::protos::pbzero::PerfSample::set_tid ( uint32_t  value)
inline

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

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

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