Searched refs:TraceBufferChunk (Results 1 – 5 of 5) sorted by relevance
27 chunk.reset(new TraceBufferChunk(current_chunk_seq_++)); in AddTraceEvent()71 chunk_index * TraceBufferChunk::kChunkSize + event_index; in MakeHandle()79 *chunk_index = indices / TraceBufferChunk::kChunkSize; in ExtractHandle()80 *event_index = indices % TraceBufferChunk::kChunkSize; in ExtractHandle()88 TraceBufferChunk::TraceBufferChunk(uint32_t seq) : seq_(seq) {} in TraceBufferChunk() function in v8::platform::tracing::TraceBufferChunk90 void TraceBufferChunk::Reset(uint32_t new_seq) { in Reset()95 TraceObject* TraceBufferChunk::AddTraceEvent(size_t* event_index) { in AddTraceEvent()
33 size_t Capacity() const { return max_chunks_ * TraceBufferChunk::kChunkSize; } in Capacity()39 std::vector<std::unique_ptr<TraceBufferChunk>> chunks_;
14 using v8::platform::tracing::TraceBufferChunk;39 size_t Capacity() const { return max_chunks_ * TraceBufferChunk::kChunkSize; } in Capacity()45 std::vector<std::unique_ptr<TraceBufferChunk>> chunks_;
24 chunk = std::make_unique<TraceBufferChunk>(current_chunk_seq_++); in AddTraceEvent()84 chunk_index * TraceBufferChunk::kChunkSize + event_index) << 1) + id_; in MakeHandle()94 *chunk_index = indices / TraceBufferChunk::kChunkSize; in ExtractHandle()95 *event_index = indices % TraceBufferChunk::kChunkSize; in ExtractHandle()
135 class V8_PLATFORM_EXPORT TraceBufferChunk {137 explicit TraceBufferChunk(uint32_t seq);155 TraceBufferChunk(const TraceBufferChunk&) = delete;156 void operator=(const TraceBufferChunk&) = delete;