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.cc302 cached_overhead_estimate_.reset(); in Reset()
321 if (!cached_overhead_estimate_) { in EstimateTraceMemoryOverhead()
322 cached_overhead_estimate_.reset(new TraceEventMemoryOverhead); in EstimateTraceMemoryOverhead()
326 cached_overhead_estimate_->Add("TraceBufferChunk", in EstimateTraceMemoryOverhead()
331 cached_overhead_estimate_->GetCount("TraceEvent"); in EstimateTraceMemoryOverhead()
335 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead()
340 chunk_[i].EstimateTraceMemoryOverhead(cached_overhead_estimate_.get()); in EstimateTraceMemoryOverhead()
343 cached_overhead_estimate_->AddSelf(); in EstimateTraceMemoryOverhead()
353 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead()
Dtrace_buffer.h54 scoped_ptr<TraceEventMemoryOverhead> cached_overhead_estimate_; variable