5#ifndef V8_LIBPLATFORM_TRACING_TRACE_BUFFER_H_
6#define V8_LIBPLATFORM_TRACING_TRACE_BUFFER_H_
26 bool Flush()
override;
29 uint64_t
MakeHandle(
size_t chunk_index, uint32_t chunk_seq,
30 size_t event_index)
const;
31 void ExtractHandle(uint64_t handle,
size_t* chunk_index, uint32_t* chunk_seq,
32 size_t* event_index)
const;
39 std::vector<std::unique_ptr<TraceBufferChunk>>
chunks_;