#include <thread_descriptor.pbzero.h>
|
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 > |
|
Definition at line 46 of file thread_descriptor.pbzero.h.
◆ Decoder
◆ FieldMetadata_Pid
◆ FieldMetadata_ThreadName
◆ FieldMetadata_Tid
◆ anonymous enum
◆ GetName()
static constexpr const char * perfetto::protos::pbzero::ThreadDescriptor::GetName |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ kPid()
static constexpr FieldMetadata_Pid perfetto::protos::pbzero::ThreadDescriptor::kPid |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ kThreadName()
◆ kTid()
static constexpr FieldMetadata_Tid perfetto::protos::pbzero::ThreadDescriptor::kTid |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ 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
76
77 ::protozero::internal::FieldWriter<
78 ::protozero::proto_utils::ProtoSchemaType::kInt32>::Append(*this,
79 field_id,
80 value);
81 }
◆ 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 |
◆ 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
132
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
101
102 ::protozero::internal::FieldWriter<
103 ::protozero::proto_utils::ProtoSchemaType::kInt32>::Append(*this,
104 field_id,
105 value);
106 }
The documentation for this class was generated from the following file: