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

#include <profile_common.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::Callstack_Decoder:

Public Member Functions

 Callstack_Decoder (const uint8_t *data, size_t len)
 
 Callstack_Decoder (const std::string &raw)
 
 Callstack_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_iid () const
 
uint64_t iid () const
 
bool has_frame_ids () const
 
::protozero::RepeatedFieldIterator< uint64_t > frame_ids () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Callstack_Decoder() [1/3]

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

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

32 : TypedProtoDecoder(data, len) {}

◆ Callstack_Decoder() [2/3]

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

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

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

◆ Callstack_Decoder() [3/3]

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

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

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

Member Function Documentation

◆ frame_ids()

::protozero::RepeatedFieldIterator< uint64_t > perfetto::protos::pbzero::Callstack_Decoder::frame_ids ( ) const
inline

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

41 {
42 return GetRepeated<uint64_t>(2);
43 }

◆ has_frame_ids()

bool perfetto::protos::pbzero::Callstack_Decoder::has_frame_ids ( ) const
inline

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

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

◆ has_iid()

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

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

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

◆ iid()

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

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

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

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