Allow configuring CPU profiler sampling interval using public API
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 4 Sep 2013 11:55:28 +0000 (11:55 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 4 Sep 2013 11:55:28 +0000 (11:55 +0000)
commitc034bb48b504192a35b07762a8b5bebc0b3973c7
tree39710b0e97ea60f6ca27b2807205701498012d8f
parent9bc60527909825f01f72d31f5d580df8fdb482e4
Allow configuring CPU profiler sampling interval using public API

The only way to change it at the moment is using a command line flag. We are going to add a setting to Chrome DevTools which would allow chaning default interval and that requires proper v8 API.

BUG=v8:2814
R=bmeurer@chromium.org, loislo@chromium.org

Review URL: https://codereview.chromium.org/23902004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-profiler.h
src/api.cc
src/cpu-profiler.cc
src/cpu-profiler.h