Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dtrace_buffer.cc256 cached_overhead_estimate_.reset(); in Reset()
267 if (!cached_overhead_estimate_) { in EstimateTraceMemoryOverhead()
268 cached_overhead_estimate_.reset(new TraceEventMemoryOverhead); in EstimateTraceMemoryOverhead()
272 cached_overhead_estimate_->Add(TraceEventMemoryOverhead::kTraceBufferChunk, in EstimateTraceMemoryOverhead()
277 cached_overhead_estimate_->GetCount( in EstimateTraceMemoryOverhead()
282 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead()
287 chunk_[i].EstimateTraceMemoryOverhead(cached_overhead_estimate_.get()); in EstimateTraceMemoryOverhead()
290 cached_overhead_estimate_->AddSelf(); in EstimateTraceMemoryOverhead()
300 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead()
Dtrace_buffer.h52 std::unique_ptr<TraceEventMemoryOverhead> cached_overhead_estimate_; variable