Lines Matching full:double
31 using BytesAndDuration = std::pair<uint64_t, double>;
41 static double GetSystemTimeInMs() in GetSystemTimeInMs()
43 double currentTime = in GetSystemTimeInMs()
44 …std::chrono::duration<double>(std::chrono::high_resolution_clock::now().time_since_epoch()).count(… in GetSystemTimeInMs()
49 double factor) const;
51 double CalculateGrowingFactor(double gcSpeed, double mutatorSpeed);
58 double GetIdleNewSpaceAllocationThroughputPerMS() const;
59 double GetIdleOldSpaceAllocationThroughputPerMS() const;
64 double CalculateMarkCompactSpeedPerMS();
65 …double GetCurrentOldSpaceAllocationThroughputPerMS(double timeMs = THROUGHPUT_TIME_FRAME_MS) const;
66 double GetNewSpaceAllocationThroughputPerMS() const;
67 double GetOldSpaceAllocationThroughputPerMS() const;
68 double GetNewSpaceConcurrentMarkSpeedPerMS() const;
69 double GetFullSpaceConcurrentMarkSpeedPerMS() const;
71 double GetAllocTimeMs() const in GetAllocTimeMs()
91 double GetAllocDurationSinceGc() const in GetAllocDurationSinceGc()
121 void AddSurvivalRate(double rate) in AddSurvivalRate()
131 double GetAverageSurvivalRate() const in GetAverageSurvivalRate()
137 double result = recordedSurvivalRates_.Sum([](double x, double y) { return x + y;}, 0.0); in GetAverageSurvivalRate()
141 double GetPredictedSurvivalRate() const in GetPredictedSurvivalRate()
157 static constexpr double ALPHA = 0.8;
158 static double CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer);
159 static double CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer,
160 const BytesAndDuration &initial, const double timeMs);
165 double gcStartTime_ {0.0};
166 double gcEndTime_ {0.0};
169 double allocTimeMs_ {0.0};
175 double allocDurationSinceGc_ {0.0};
183 double allocTimeMsIdle_ {0.0};
190 double markCompactSpeedCache_ {0.0};
192 double predictedSurvivalRate_ {std::numeric_limits<double>::quiet_NaN()};
202 base::GCRingBuffer<double, LENGTH> recordedSurvivalRates_;
204 static constexpr double THROUGHPUT_TIME_FRAME_MS = 5000;