Home
last modified time | relevance | path

Searched refs:chunk_index_ (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/libplatform/tracing/
Dtrace-buffer.cc22 if (is_empty_ || chunks_[chunk_index_]->IsFull()) { in AddTraceEvent()
23 chunk_index_ = is_empty_ ? 0 : NextChunkIndex(chunk_index_); in AddTraceEvent()
25 auto& chunk = chunks_[chunk_index_]; in AddTraceEvent()
32 auto& chunk = chunks_[chunk_index_]; in AddTraceEvent()
35 *handle = MakeHandle(chunk_index_, chunk->seq(), event_index); in AddTraceEvent()
54 for (size_t i = NextChunkIndex(chunk_index_);; i = NextChunkIndex(i)) { in Flush()
60 if (i == chunk_index_) break; in Flush()
Dtrace-buffer.h39 size_t chunk_index_; variable
/external/v8/src/zone/
Dzone-chunk-list.h121 uint32_t chunk_index_; member
367 seek_result.chunk_->position_ = seek_result.chunk_index_; in Rewind()
385 seek_result.chunk_index_); in Find()
393 seek_result.chunk_index_); in Find()
/external/libchrome/base/trace_event/
Dtrace_log.cc219 handle.chunk_index != chunk_index_) { in GetEventByHandle()
246 size_t chunk_index_; member in base::trace_event::TraceLog::ThreadLocalEventBuffer
254 chunk_index_(0), in ThreadLocalEventBuffer()
293 chunk_ = trace_log_->logged_events_->GetChunk(&chunk_index_); in AddTraceEvent()
302 MakeHandle(chunk_->seq(), chunk_index_, event_index, handle); in AddTraceEvent()
330 trace_log_->logged_events_->ReturnChunk(chunk_index_, std::move(chunk_)); in FlushWhileLocked()