Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dtrace_buffer.cc24 queue_head_(0), in TraceBufferRingBuffer()
38 *index = recyclable_chunks_queue_[queue_head_]; in GetChunk()
39 queue_head_ = NextQueueIndex(queue_head_); in GetChunk()
40 current_iteration_index_ = queue_head_; in GetChunk()
104 for (size_t queue_index = queue_head_; queue_index != queue_tail_; in CloneForIteration()
118 for (size_t queue_index = queue_head_; queue_index != queue_tail_; in EstimateTraceMemoryOverhead()
165 bool QueueIsEmpty() const { return queue_head_ == queue_tail_; } in QueueIsEmpty()
168 return queue_tail_ > queue_head_ in QueueSize()
169 ? queue_tail_ - queue_head_ in QueueSize()
170 : queue_tail_ + queue_capacity() - queue_head_; in QueueSize()
[all …]