DescriptionAdd 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.
Committed: http://code.google.com/p/v8/source/detail?r=2574
Patch Set 1 #
Total comments: 10
Patch Set 2 : Renamings #
Messages
Total messages: 3 (0 generated)
|