Home
last modified time | relevance | path

Searched refs:max_chunks_ (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/trace_event/
Dtrace_buffer.cc23 : max_chunks_(max_chunks), in TraceBufferRingBuffer()
79 return max_chunks_ * TraceBufferChunk::kTraceBufferChunkSize; in Capacity()
131 return max_chunks_ + 1; in queue_capacity()
141 size_t max_chunks_; member in base::trace_event::__anone1714b7a0111::TraceBufferRingBuffer
159 max_chunks_(max_chunks) { in TraceBufferVector()
160 chunks_.reserve(max_chunks_); in TraceBufferVector()
187 bool IsFull() const override { return chunks_.size() >= max_chunks_; } in IsFull()
195 return max_chunks_ * TraceBufferChunk::kTraceBufferChunkSize; in Capacity()
220 sizeof(*this) + max_chunks_ * sizeof(decltype(chunks_)::value_type); in EstimateTraceMemoryOverhead()
237 size_t max_chunks_; member in base::trace_event::__anone1714b7a0111::TraceBufferVector
/external/v8/src/libplatform/tracing/
Dtrace-buffer.h32 size_t Capacity() const { return max_chunks_ * TraceBufferChunk::kChunkSize; } in Capacity()
36 size_t max_chunks_; variable
Dtrace-buffer.cc13 : max_chunks_(max_chunks) { in TraceBufferRingBuffer()
86 if (++index >= max_chunks_) index = 0; in NextChunkIndex()