Index: src/counters.h |
diff --git a/src/counters.h b/src/counters.h |
index d8ec066ce7d99de000de377241c7cd12c85caebd..2a3a1b8373ce156382ae70b161d587387254a814 100644 |
--- a/src/counters.h |
+++ b/src/counters.h |
@@ -493,6 +493,8 @@ struct RuntimeCallCounter { |
class RuntimeCallTimer { |
public: |
RuntimeCallTimer() {} |
+ RuntimeCallCounter* counter() { return counter_; } |
+ base::ElapsedTimer timer() { return timer_; } |
private: |
friend class RuntimeCallStats; |
@@ -775,6 +777,7 @@ class RuntimeCallStats { |
void Print(std::ostream& os); |
RuntimeCallStats() { Reset(); } |
+ RuntimeCallTimer* current_timer() { return current_timer_; } |
private: |
// Counter to track recursive time events. |