11#ifndef PERFETTO_PROTOS_PROTOS_PERFETTO_TRACE_TRACE_PROTO_H_
12#define PERFETTO_PROTOS_PROTOS_PERFETTO_TRACE_TRACE_PROTO_H_
17#include "perfetto/protozero/field_writer.h"
18#include "perfetto/protozero/message.h"
19#include "perfetto/protozero/packed_repeated_fields.h"
20#include "perfetto/protozero/proto_decoder.h"
21#include "perfetto/protozero/proto_utils.h"
34 : TypedProtoDecoder(
data,
len) {}
36 : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.
data()),
39 : TypedProtoDecoder(raw.
data, raw.
size) {}
41 ::protozero::RepeatedFieldIterator<::protozero::ConstBytes>
packet()
const {
42 return GetRepeated<::protozero::ConstBytes>(1);
46class Trace :
public ::protozero::Message {
52 static constexpr const char*
GetName() {
return ".perfetto.protos.Trace"; }
56 ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked,
57 ::protozero::proto_utils::ProtoSchemaType::kMessage,
69 template <
typename T = TracePacket>
71 return BeginNestedMessage<T>(1);
Trace_Decoder(const std::string &raw)
Trace_Decoder(const ::protozero::ConstBytes &raw)
Trace_Decoder(const uint8_t *data, size_t len)
::protozero::RepeatedFieldIterator<::protozero::ConstBytes > packet() const
::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, ::protozero::proto_utils::ProtoSchemaType::kMessage, TracePacket, Trace > FieldMetadata_Packet
static constexpr FieldMetadata_Packet kPacket()
static constexpr const char * GetName()
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
std::shared_ptr< const fml::Mapping > data