class TraceStats

Defined at line 41 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

Public Members

static const auto FINAL_FLUSH_UNSPECIFIED
static const auto FINAL_FLUSH_SUCCEEDED
static const auto FINAL_FLUSH_FAILED
static const auto FinalFlushOutcome_MIN
static const auto FinalFlushOutcome_MAX

Public Methods

void TraceStats ()
void TraceStats (TraceStats && )
void TraceStats (const TraceStats & )
bool ParseFromArray (const void * , size_t )
std::string SerializeAsString ()
std::vector<uint8_t> SerializeAsArray ()
void Serialize (::protozero::Message * )
void add_chunk_payload_histogram_def (int64_t value)

Defined at line 96 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

int64_t * add_chunk_payload_histogram_def ()

Defined at line 97 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void clear_writer_stats ()
TraceStats_WriterStats * add_writer_stats ()
bool operator!= (const TraceStats & other)

Defined at line 79 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

const std::vector<TraceStats_BufferStats> & buffer_stats ()

Defined at line 86 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

int buffer_stats_size ()
void clear_buffer_stats ()
TraceStats_BufferStats * add_buffer_stats ()
std::vector<TraceStats_BufferStats> * mutable_buffer_stats ()

Defined at line 87 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

const std::vector<int64_t> & chunk_payload_histogram_def ()

Defined at line 92 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

std::vector<int64_t> * mutable_chunk_payload_histogram_def ()

Defined at line 93 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

int chunk_payload_histogram_def_size ()

Defined at line 94 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void clear_chunk_payload_histogram_def ()

Defined at line 95 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

const std::vector<TraceStats_WriterStats> & writer_stats ()

Defined at line 99 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

std::vector<TraceStats_WriterStats> * mutable_writer_stats ()

Defined at line 100 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_producers_connected ()

Defined at line 105 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint32_t producers_connected ()

Defined at line 106 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_producers_connected (uint32_t value)

Defined at line 107 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_producers_seen ()

Defined at line 109 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t producers_seen ()

Defined at line 110 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_producers_seen (uint64_t value)

Defined at line 111 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_data_sources_registered ()

Defined at line 113 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint32_t data_sources_registered ()

Defined at line 114 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_data_sources_registered (uint32_t value)

Defined at line 115 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_data_sources_seen ()

Defined at line 117 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t data_sources_seen ()

Defined at line 118 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_data_sources_seen (uint64_t value)

Defined at line 119 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_tracing_sessions ()

Defined at line 121 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint32_t tracing_sessions ()

Defined at line 122 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_tracing_sessions (uint32_t value)

Defined at line 123 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_total_buffers ()

Defined at line 125 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint32_t total_buffers ()

Defined at line 126 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_total_buffers (uint32_t value)

Defined at line 127 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_chunks_discarded ()

Defined at line 129 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t chunks_discarded ()

Defined at line 130 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_chunks_discarded (uint64_t value)

Defined at line 131 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_patches_discarded ()

Defined at line 133 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t patches_discarded ()

Defined at line 134 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_patches_discarded (uint64_t value)

Defined at line 135 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_invalid_packets ()

Defined at line 137 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t invalid_packets ()

Defined at line 138 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_invalid_packets (uint64_t value)

Defined at line 139 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_filter_stats ()

Defined at line 141 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

const TraceStats_FilterStats & filter_stats ()

Defined at line 142 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

TraceStats_FilterStats * mutable_filter_stats ()

Defined at line 143 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_flushes_requested ()

Defined at line 145 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t flushes_requested ()

Defined at line 146 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

TraceStats & operator= (TraceStats && )
TraceStats & operator= (const TraceStats & )
bool operator== (const TraceStats & )
void set_flushes_requested (uint64_t value)

Defined at line 147 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_flushes_succeeded ()

Defined at line 149 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t flushes_succeeded ()

Defined at line 150 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_flushes_succeeded (uint64_t value)

Defined at line 151 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_flushes_failed ()

Defined at line 153 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

uint64_t flushes_failed ()

Defined at line 154 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_flushes_failed (uint64_t value)

Defined at line 155 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

bool has_final_flush_outcome ()

Defined at line 157 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

TraceStats_FinalFlushOutcome final_flush_outcome ()

Defined at line 158 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void set_final_flush_outcome (TraceStats_FinalFlushOutcome value)

Defined at line 159 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h

void ~TraceStats ()
int writer_stats_size ()

Enumerations

enum FieldNumbers
Name Value
kBufferStatsFieldNumber 1
kChunkPayloadHistogramDefFieldNumber 17
kWriterStatsFieldNumber 18
kProducersConnectedFieldNumber 2
kProducersSeenFieldNumber 3
kDataSourcesRegisteredFieldNumber 4
kDataSourcesSeenFieldNumber 5
kTracingSessionsFieldNumber 6
kTotalBuffersFieldNumber 7
kChunksDiscardedFieldNumber 8
kPatchesDiscardedFieldNumber 9
kInvalidPacketsFieldNumber 10
kFilterStatsFieldNumber 11
kFlushesRequestedFieldNumber 12
kFlushesSucceededFieldNumber 13
kFlushesFailedFieldNumber 14
kFinalFlushOutcomeFieldNumber 15

Defined at line 52 of file gen/third_party/perfetto/protos/perfetto/common/trace_stats.gen.h