Lines Matching full:double
28 using BytesAndDuration = std::pair<uint64_t, double>;
30 inline BytesAndDuration MakeBytesAndDuration(uint64_t bytes, double duration) in MakeBytesAndDuration()
43 static double GetSystemTimeInMs() in GetSystemTimeInMs()
45 double currentTime = in GetSystemTimeInMs()
46 …std::chrono::duration<double>(std::chrono::high_resolution_clock::now().time_since_epoch()).count(… in GetSystemTimeInMs()
51 double factor) const;
53 double CalculateGrowingFactor(double gcSpeed, double mutatorSpeed);
60 double CalculateMarkCompactSpeedPerMS();
61 …double GetCurrentOldSpaceAllocationThroughputPerMS(double timeMs = THROUGHPUT_TIME_FRAME_MS) const;
62 double GetNewSpaceAllocationThroughputPerMS() const;
63 double GetOldSpaceAllocationThroughputPerMS() const;
64 double GetNewSpaceConcurrentMarkSpeedPerMS() const;
65 double GetFullSpaceConcurrentMarkSpeedPerMS() const;
67 double GetAllocTimeMs() const in GetAllocTimeMs()
87 double GetAllocDurationSinceGc() const in GetAllocDurationSinceGc()
117 void AddSurvivalRate(double rate) in AddSurvivalRate()
122 double GetAverageSurvivalRate() const in GetAverageSurvivalRate()
128 double result = recordedSurvivalRates_.Sum([](double x, double y) { return x + y;}, 0.0); in GetAverageSurvivalRate()
139 static double CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer);
140 static double CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer,
141 const BytesAndDuration &initial, const double timeMs);
146 double gcStartTime_ {0.0};
147 double gcEndTime_ {0.0};
150 double allocTimeMs_ {0.0};
156 double allocDurationSinceGc_ {0.0};
164 double markCompactSpeedCache_ {0.0};
174 base::GCRingBuffer<double, LENGTH> recordedSurvivalRates_;
176 static constexpr double THROUGHPUT_TIME_FRAME_MS = 5000;