Chromium Code Reviews| Index: include/v8-profiler.h |
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
| index 5f560c37eae8425cca4553f6fa01be21e3de3ead..cda2463362e199dc855240412dd251026eaaee44 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 GetMemorySizeUsedByProfiler(); |
|
yurys
2012/06/18 07:28:28
nit: I would include units into the name: GetMemor
|
| }; |