Index: src/counters.cc |
diff --git a/src/counters.cc b/src/counters.cc |
index 797630833a35025aa7e64de22fc04045f71b64b3..8a5908c9af3d1dc981235cb5481b1798d0c938c9 100644 |
--- a/src/counters.cc |
+++ b/src/counters.cc |
@@ -276,6 +276,11 @@ void RuntimeCallCounter::Reset() { |
time = base::TimeDelta(); |
} |
+void RuntimeCallCounter::Dump(std::stringstream& out) { |
+ out << "\"" << name << "\":[" << count << "," << time.InMicroseconds() |
+ << "],"; |
+} |
+ |
// static |
void RuntimeCallStats::Enter(Isolate* isolate, RuntimeCallTimer* timer, |
CounterId counter_id) { |