Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index 0e99650ed73660d8a47620fa0bff8f9d1aa815aa..ff41432b284a4c3a2d9ea9231b51b5ca5dd8c752 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -408,6 +408,11 @@ void RuntimeProfiler::TearDown() { |
} |
+int RuntimeProfiler::SamplerWindowSize() { |
+ return kSamplerWindowSize; |
+} |
+ |
+ |
// Update the pointers in the sampler window after a GC. |
void RuntimeProfiler::UpdateSamplesAfterScavenge() { |
for (int i = 0; i < kSamplerWindowSize; i++) { |