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

#include <thread_descriptor.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::ThreadDescriptor_Decoder:

Public Member Functions

 ThreadDescriptor_Decoder (const uint8_t *data, size_t len)
 
 ThreadDescriptor_Decoder (const std::string &raw)
 
 ThreadDescriptor_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_pid () const
 
int32_t pid () const
 
bool has_tid () const
 
int32_t tid () const
 
bool has_thread_name () const
 
::protozero::ConstChars thread_name () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ThreadDescriptor_Decoder() [1/3]

perfetto::protos::pbzero::ThreadDescriptor_Decoder::ThreadDescriptor_Decoder ( const uint8_t *  data,
size_t  len 
)
inline

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

32 : TypedProtoDecoder(data, len) {}

◆ ThreadDescriptor_Decoder() [2/3]

perfetto::protos::pbzero::ThreadDescriptor_Decoder::ThreadDescriptor_Decoder ( const std::string &  raw)
inlineexplicit

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

34 : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()),
35 raw.size()) {}

◆ ThreadDescriptor_Decoder() [3/3]

perfetto::protos::pbzero::ThreadDescriptor_Decoder::ThreadDescriptor_Decoder ( const ::protozero::ConstBytes &  raw)
inlineexplicit

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

37 : TypedProtoDecoder(raw.data, raw.size) {}

Member Function Documentation

◆ has_pid()

bool perfetto::protos::pbzero::ThreadDescriptor_Decoder::has_pid ( ) const
inline

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

38{ return at<1>().valid(); }

◆ has_thread_name()

bool perfetto::protos::pbzero::ThreadDescriptor_Decoder::has_thread_name ( ) const
inline

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

42{ return at<5>().valid(); }

◆ has_tid()

bool perfetto::protos::pbzero::ThreadDescriptor_Decoder::has_tid ( ) const
inline

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

40{ return at<2>().valid(); }

◆ pid()

int32_t perfetto::protos::pbzero::ThreadDescriptor_Decoder::pid ( ) const
inline

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

39{ return at<1>().as_int32(); }

◆ thread_name()

::protozero::ConstChars perfetto::protos::pbzero::ThreadDescriptor_Decoder::thread_name ( ) const
inline

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

43{ return at<5>().as_string(); }

◆ tid()

int32_t perfetto::protos::pbzero::ThreadDescriptor_Decoder::tid ( ) const
inline

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

41{ return at<2>().as_int32(); }

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