< prev index next >
src/hotspot/share/gc/g1/g1Analytics.hpp
Print this page
rev 59305 : imported patch 8243672-short-term-pause-time-ratio-calculation-off
@@ -86,10 +86,13 @@
double predict_in_unit_interval(TruncatedSeq const* seq) const;
size_t predict_size(TruncatedSeq const* seq) const;
double predict_zero_bounded(TruncatedSeq const* seq) const;
+ double oldest_known_gc_end_time_sec() const;
+ double most_recent_gc_end_time_sec() const;
+
public:
G1Analytics(const G1Predictions* predictor);
double prev_collection_pause_end_ms() const {
return _prev_collection_pause_end_ms;
@@ -158,11 +161,9 @@
size_t predict_rs_length() const;
size_t predict_pending_cards() const;
// Add a new GC of the given duration and end time to the record.
void update_recent_gc_times(double end_time_sec, double elapsed_ms);
- void compute_pause_time_ratio(double interval_ms, double pause_time_ms);
-
- double last_known_gc_end_time_sec() const;
+ void compute_pause_time_ratios(double end_time_sec, double pause_time_ms);
};
#endif // SHARE_GC_G1_G1ANALYTICS_HPP
< prev index next >