| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f0ed1ae commit 781d5e5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -331,11 +331,11 @@ MaybeLocal<Object> V8CpuProfilerConnection::GetProfile(Local<Object> result) { | |||
| 331 | 331 | ||
| 332 | 332 | void V8CpuProfilerConnection::Start() { | |
| 333 | 333 | DispatchMessage("Profiler.enable"); | |
| 334 | - DispatchMessage("Profiler.start"); | ||
| 335 | 334 | std::string params = R"({ "interval": )"; | |
| 336 | 335 | params += std::to_string(env()->cpu_prof_interval()); | |
| 337 | 336 | params += " }"; | |
| 338 | 337 | DispatchMessage("Profiler.setSamplingInterval", params.c_str()); | |
| 338 | + DispatchMessage("Profiler.start"); | ||
| 339 | 339 | } | |
| 340 | 340 | ||
| 341 | 341 | void V8CpuProfilerConnection::End() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments