Searched refs:BytesAndDuration (Results 1 – 2 of 2) sorted by relevance
22 using BytesAndDuration = std::pair<uint64_t, double>; variable24 inline BytesAndDuration MakeBytesAndDuration(uint64_t bytes, double duration) { in MakeBytesAndDuration()440 static double AverageSpeed(const base::RingBuffer<BytesAndDuration>& buffer);441 static double AverageSpeed(const base::RingBuffer<BytesAndDuration>& buffer,442 const BytesAndDuration& initial, double time_ms);541 base::RingBuffer<BytesAndDuration> recorded_minor_gcs_total_;542 base::RingBuffer<BytesAndDuration> recorded_minor_gcs_survived_;543 base::RingBuffer<BytesAndDuration> recorded_compactions_;544 base::RingBuffer<BytesAndDuration> recorded_incremental_mark_compacts_;545 base::RingBuffer<BytesAndDuration> recorded_mark_compacts_;[all …]
1061 double GCTracer::AverageSpeed(const base::RingBuffer<BytesAndDuration>& buffer, in AverageSpeed()1062 const BytesAndDuration& initial, double time_ms) { in AverageSpeed()1063 BytesAndDuration sum = buffer.Sum( in AverageSpeed()1064 [time_ms](BytesAndDuration a, BytesAndDuration b) { in AverageSpeed()1081 const base::RingBuffer<BytesAndDuration>& buffer) { in AverageSpeed()