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

#include <trace_packet.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::TracePacket_Decoder:

Public Member Functions

 TracePacket_Decoder (const uint8_t *data, size_t len)
 
 TracePacket_Decoder (const std::string &raw)
 
 TracePacket_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_timestamp () const
 
uint64_t timestamp () const
 
bool has_timestamp_clock_id () const
 
uint32_t timestamp_clock_id () const
 
bool has_clock_snapshot () const
 
::protozero::ConstBytes clock_snapshot () const
 
bool has_track_event () const
 
::protozero::ConstBytes track_event () const
 
bool has_track_descriptor () const
 
::protozero::ConstBytes track_descriptor () const
 
bool has_perf_sample () const
 
::protozero::ConstBytes perf_sample () const
 
bool has_trusted_packet_sequence_id () const
 
uint32_t trusted_packet_sequence_id () const
 
bool has_interned_data () const
 
::protozero::ConstBytes interned_data () const
 
bool has_sequence_flags () const
 
uint32_t sequence_flags () const
 

Detailed Description

Definition at line 66 of file trace_packet.pbzero.h.

Constructor & Destructor Documentation

◆ TracePacket_Decoder() [1/3]

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

Definition at line 70 of file trace_packet.pbzero.h.

71 : TypedProtoDecoder(data, len) {}

◆ TracePacket_Decoder() [2/3]

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

Definition at line 72 of file trace_packet.pbzero.h.

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

◆ TracePacket_Decoder() [3/3]

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

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

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

Member Function Documentation

◆ clock_snapshot()

::protozero::ConstBytes perfetto::protos::pbzero::TracePacket_Decoder::clock_snapshot ( ) const
inline

Definition at line 82 of file trace_packet.pbzero.h.

82{ return at<6>().as_bytes(); }

◆ has_clock_snapshot()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_clock_snapshot ( ) const
inline

Definition at line 81 of file trace_packet.pbzero.h.

81{ return at<6>().valid(); }

◆ has_interned_data()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_interned_data ( ) const
inline

Definition at line 93 of file trace_packet.pbzero.h.

93{ return at<12>().valid(); }

◆ has_perf_sample()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_perf_sample ( ) const
inline

Definition at line 89 of file trace_packet.pbzero.h.

89{ return at<66>().valid(); }

◆ has_sequence_flags()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_sequence_flags ( ) const
inline

Definition at line 95 of file trace_packet.pbzero.h.

95{ return at<13>().valid(); }

◆ has_timestamp()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_timestamp ( ) const
inline

Definition at line 77 of file trace_packet.pbzero.h.

77{ return at<8>().valid(); }

◆ has_timestamp_clock_id()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_timestamp_clock_id ( ) const
inline

Definition at line 79 of file trace_packet.pbzero.h.

79{ return at<58>().valid(); }

◆ has_track_descriptor()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_track_descriptor ( ) const
inline

Definition at line 85 of file trace_packet.pbzero.h.

85{ return at<60>().valid(); }

◆ has_track_event()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_track_event ( ) const
inline

Definition at line 83 of file trace_packet.pbzero.h.

83{ return at<11>().valid(); }

◆ has_trusted_packet_sequence_id()

bool perfetto::protos::pbzero::TracePacket_Decoder::has_trusted_packet_sequence_id ( ) const
inline

Definition at line 91 of file trace_packet.pbzero.h.

91{ return at<10>().valid(); }

◆ interned_data()

::protozero::ConstBytes perfetto::protos::pbzero::TracePacket_Decoder::interned_data ( ) const
inline

Definition at line 94 of file trace_packet.pbzero.h.

94{ return at<12>().as_bytes(); }

◆ perf_sample()

::protozero::ConstBytes perfetto::protos::pbzero::TracePacket_Decoder::perf_sample ( ) const
inline

Definition at line 90 of file trace_packet.pbzero.h.

90{ return at<66>().as_bytes(); }

◆ sequence_flags()

uint32_t perfetto::protos::pbzero::TracePacket_Decoder::sequence_flags ( ) const
inline

Definition at line 96 of file trace_packet.pbzero.h.

96{ return at<13>().as_uint32(); }

◆ timestamp()

uint64_t perfetto::protos::pbzero::TracePacket_Decoder::timestamp ( ) const
inline

Definition at line 78 of file trace_packet.pbzero.h.

78{ return at<8>().as_uint64(); }

◆ timestamp_clock_id()

uint32_t perfetto::protos::pbzero::TracePacket_Decoder::timestamp_clock_id ( ) const
inline

Definition at line 80 of file trace_packet.pbzero.h.

80{ return at<58>().as_uint32(); }

◆ track_descriptor()

::protozero::ConstBytes perfetto::protos::pbzero::TracePacket_Decoder::track_descriptor ( ) const
inline

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

86 {
87 return at<60>().as_bytes();
88 }

◆ track_event()

::protozero::ConstBytes perfetto::protos::pbzero::TracePacket_Decoder::track_event ( ) const
inline

Definition at line 84 of file trace_packet.pbzero.h.

84{ return at<11>().as_bytes(); }

◆ trusted_packet_sequence_id()

uint32_t perfetto::protos::pbzero::TracePacket_Decoder::trusted_packet_sequence_id ( ) const
inline

Definition at line 92 of file trace_packet.pbzero.h.

92{ return at<10>().as_uint32(); }

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