Index: src/api.cc |
=================================================================== |
--- src/api.cc (revision 1503) |
+++ src/api.cc (working copy) |
@@ -2700,7 +2700,16 @@ |
i::StatsTable::SetCounterFunction(callback); |
} |
+void V8::SetCreateHistogramFunction(CreateHistogramCallback callback) { |
+ if (IsDeadCheck("v8::V8::SetCreateHistogramFunction()")) return; |
+ i::StatsTable::SetCreateHistogramFunction(callback); |
+} |
+void V8::SetAddHistogramSampleFunction(AddHistogramSampleCallback callback) { |
+ if (IsDeadCheck("v8::V8::SetAddHistogramSampleFunction()")) return; |
+ i::StatsTable::SetAddHistogramSampleFunction(callback); |
+} |
+ |
void V8::EnableSlidingStateWindow() { |
if (IsDeadCheck("v8::V8::EnableSlidingStateWindow()")) return; |
i::Logger::EnableSlidingStateWindow(); |