Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 5f560c37eae8425cca4553f6fa01be21e3de3ead..331d35e4c2e678e79a20a4ee53e71a4c595695d3 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -482,6 +482,9 @@ class V8EXPORT HeapProfiler { |
/** Returns the number of currently existing persistent handles. */ |
static int GetPersistentHandleCount(); |
+ |
+ /** Returns memory used for profiler internal data and snapshots. */ |
+ static size_t GetUsedMemorySize(); |
mnaganov (inactive)
2012/06/11 09:47:19
The name isn't very clear. How about GetMemorySize
alf
2012/06/12 17:51:28
Done.
|
}; |