Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: Source/bindings/v8/ScriptProfiler.cpp

Issue 23818003: Revert "Allow configuring CPU profiler sampling interval" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/ScriptProfiler.h ('k') | Source/core/inspector/InspectorProfilerAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptProfiler.cpp
diff --git a/Source/bindings/v8/ScriptProfiler.cpp b/Source/bindings/v8/ScriptProfiler.cpp
index 7027da6920c92ab3eb6f6728879a7dfd33fc10f0..f9f5604fd5137bb2793ee798f2a6dce0adbbaaa5 100644
--- a/Source/bindings/v8/ScriptProfiler.cpp
+++ b/Source/bindings/v8/ScriptProfiler.cpp
@@ -50,14 +50,6 @@ namespace WebCore {
typedef HashMap<String, double> ProfileNameIdleTimeMap;
-void ScriptProfiler::setSamplingInterval(int intervalUs)
-{
- v8::Isolate* isolate = v8::Isolate::GetCurrent();
- v8::CpuProfiler* profiler = isolate->GetCpuProfiler();
- if (profiler)
- profiler->SetSamplingInterval(intervalUs);
-}
-
void ScriptProfiler::start(const String& title)
{
ProfileNameIdleTimeMap* profileNameIdleTimeMap = ScriptProfiler::currentProfileNameIdleTimeMap();
« no previous file with comments | « Source/bindings/v8/ScriptProfiler.h ('k') | Source/core/inspector/InspectorProfilerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698