Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dtrace_buffer.h27 bool IsFull() const { return next_free_ == kTraceBufferChunkSize; } in IsFull()
30 size_t capacity() const { return kTraceBufferChunkSize; } in capacity()
48 static const size_t kTraceBufferChunkSize = 64; variable
53 TraceEvent chunk_[kTraceBufferChunkSize];
Dtrace_buffer.cc75 return chunks_.size() * TraceBufferChunk::kTraceBufferChunkSize; in Size()
79 return max_chunks_ * TraceBufferChunk::kTraceBufferChunkSize; in Capacity()
192 return chunks_.size() * TraceBufferChunk::kTraceBufferChunkSize; in Size()
196 return max_chunks_ * TraceBufferChunk::kTraceBufferChunkSize; in Capacity()
Dtrace_log.cc66 const size_t kTraceBufferChunkSize = TraceBufferChunk::kTraceBufferChunkSize; variable
69 512000000 / kTraceBufferChunkSize;
73 const size_t kTraceEventVectorBufferChunks = 256000 / kTraceBufferChunkSize;
154 DCHECK(event_index < TraceBufferChunk::kTraceBufferChunkSize); in MakeHandle()
1617 DCHECK(handle.event_index <= TraceBufferChunk::kTraceBufferChunkSize - 1); in GetEventByHandleInternal()
Dtrace_event_unittest.cc2582 size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize; in TEST_F()
2594 EXPECT_EQ((i + 1) * TraceBufferChunk::kTraceBufferChunkSize, in TEST_F()
2642 size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize; in TEST_F()
2671 size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize; in TEST_F()