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

#include <profile_common.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::Frame_Decoder:

Public Member Functions

 Frame_Decoder (const uint8_t *data, size_t len)
 
 Frame_Decoder (const std::string &raw)
 
 Frame_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_iid () const
 
uint64_t iid () const
 
bool has_function_name_id () const
 
uint64_t function_name_id () const
 
bool has_mapping_id () const
 
uint64_t mapping_id () const
 
bool has_rel_pc () const
 
uint64_t rel_pc () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Frame_Decoder() [1/3]

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

Definition at line 112 of file profile_common.pbzero.h.

113 : TypedProtoDecoder(data, len) {}

◆ Frame_Decoder() [2/3]

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

Definition at line 114 of file profile_common.pbzero.h.

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

◆ Frame_Decoder() [3/3]

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

Definition at line 117 of file profile_common.pbzero.h.

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

Member Function Documentation

◆ function_name_id()

uint64_t perfetto::protos::pbzero::Frame_Decoder::function_name_id ( ) const
inline

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

122{ return at<2>().as_uint64(); }

◆ has_function_name_id()

bool perfetto::protos::pbzero::Frame_Decoder::has_function_name_id ( ) const
inline

Definition at line 121 of file profile_common.pbzero.h.

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

◆ has_iid()

bool perfetto::protos::pbzero::Frame_Decoder::has_iid ( ) const
inline

Definition at line 119 of file profile_common.pbzero.h.

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

◆ has_mapping_id()

bool perfetto::protos::pbzero::Frame_Decoder::has_mapping_id ( ) const
inline

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

123{ return at<3>().valid(); }

◆ has_rel_pc()

bool perfetto::protos::pbzero::Frame_Decoder::has_rel_pc ( ) const
inline

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

125{ return at<4>().valid(); }

◆ iid()

uint64_t perfetto::protos::pbzero::Frame_Decoder::iid ( ) const
inline

Definition at line 120 of file profile_common.pbzero.h.

120{ return at<1>().as_uint64(); }

◆ mapping_id()

uint64_t perfetto::protos::pbzero::Frame_Decoder::mapping_id ( ) const
inline

Definition at line 124 of file profile_common.pbzero.h.

124{ return at<3>().as_uint64(); }

◆ rel_pc()

uint64_t perfetto::protos::pbzero::Frame_Decoder::rel_pc ( ) const
inline

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

126{ return at<4>().as_uint64(); }

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