#include "src/trace_processor/importers/proto/graphics_frame_event_parser.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <optional>
#include "perfetto/base/logging.h"
#include "perfetto/ext/base/string_view.h"
#include "perfetto/ext/base/string_writer.h"
#include "perfetto/ext/base/utils.h"
#include "protos/perfetto/trace/android/graphics_frame_event.pbzero.h"
#include "src/trace_processor/importers/common/event_tracker.h"
#include "src/trace_processor/importers/common/slice_tracker.h"
#include "src/trace_processor/importers/common/track_tracker.h"
#include "src/trace_processor/storage/stats.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "src/trace_processor/tables/slice_tables_py.h"
#include "src/trace_processor/tables/track_tables_py.h"
#include "src/trace_processor/types/trace_processor_context.h"
namespace perfetto::trace_processor {
constexpr char kQueueLostMessage[] = …;
GraphicsFrameEventParser::GraphicsFrameEventParser(
TraceProcessorContext* context)
: … { … }
bool GraphicsFrameEventParser::CreateBufferEvent(
int64_t timestamp,
GraphicsFrameEventDecoder& event) { … }
void GraphicsFrameEventParser::InvalidatePhaseEvent(int64_t timestamp,
TrackId track_id,
bool reset_name) { … }
void GraphicsFrameEventParser::CreatePhaseEvent(
int64_t timestamp,
GraphicsFrameEventDecoder& event) { … }
void GraphicsFrameEventParser::ParseGraphicsFrameEvent(int64_t timestamp,
ConstBytes blob) { … }
}