Reviewers: Søren Gjesse,
Description:
Add generic V8 API functions for controlling profiling aspects.
As we'll have several aspects of heap profiling it is more handy to
control them using binary flags than by individual functions. CPU
profiling represent just a particular aspect to control, so
{Pause,Resume}Profiler and IsProfilerPaused are only left for
compatibility.
For now, PROFILER_FLAG_HEAP_STATS and PROFILER_FLAG_JS_CONSTRUCTOR are
equivalent, but later will be split.
Please review this at http://codereview.chromium.org/159581
Affected files:
M include/v8.h
M src/api.cc
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---