summaryrefslogtreecommitdiffstats
path: root/runtime/gc/collector/garbage_collector.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/collector/garbage_collector.h')
-rw-r--r--runtime/gc/collector/garbage_collector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/gc/collector/garbage_collector.h b/runtime/gc/collector/garbage_collector.h
index 5b7b8a2..b19ac3f 100644
--- a/runtime/gc/collector/garbage_collector.h
+++ b/runtime/gc/collector/garbage_collector.h
@@ -110,6 +110,9 @@ class GarbageCollector {
return pause_histogram_;
}
+ // Reset the cumulative timings and pause histogram.
+ void ResetMeasurements();
+
// Returns the estimated throughput in bytes / second.
uint64_t GetEstimatedMeanThroughput() const;