Home
last modified time | relevance | path

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

/external/v8/src/
Dcounters.h404 void AddSample(double current_ms, double current_value);
407 double Aggregate(double current_ms, double current_value);
418 void AggregatedMemoryHistogram<Histogram>::AddSample(double current_ms, in AddSample() argument
422 start_ms_ = current_ms; in AddSample()
424 last_ms_ = current_ms; in AddSample()
429 if (current_ms < last_ms_ + kEpsilon) { in AddSample()
435 if (end_ms <= current_ms + kEpsilon) { in AddSample()
437 double slope = (current_value - last_value_) / (current_ms - last_ms_); in AddSample()
441 for (i = 0; i < kMaxSamples && end_ms <= current_ms + kEpsilon; i++) { in AddSample()
459 start_ms_ = current_ms; in AddSample()
[all …]
/external/v8/src/heap/
Dgc-tracer.cc314 void GCTracer::SampleAllocation(double current_ms, in SampleAllocation() argument
319 allocation_time_ms_ = current_ms; in SampleAllocation()
330 double duration = current_ms - allocation_time_ms_; in SampleAllocation()
331 allocation_time_ms_ = current_ms; in SampleAllocation()
341 void GCTracer::AddAllocation(double current_ms) { in AddAllocation() argument
342 allocation_time_ms_ = current_ms; in AddAllocation()
Dgc-tracer.h245 void SampleAllocation(double current_ms, size_t new_space_counter_bytes,
249 void AddAllocation(double current_ms);