Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ed1ae commit 781d5e5Copy full SHA for 781d5e5
src/inspector_profiler.cc
@@ -331,11 +331,11 @@ MaybeLocal<Object> V8CpuProfilerConnection::GetProfile(Local<Object> result) {
331
332
void V8CpuProfilerConnection::Start() {
333
DispatchMessage("Profiler.enable");
334
- DispatchMessage("Profiler.start");
335
std::string params = R"({ "interval": )";
336
params += std::to_string(env()->cpu_prof_interval());
337
params += " }";
338
DispatchMessage("Profiler.setSamplingInterval", params.c_str());
+ DispatchMessage("Profiler.start");
339
}
340
341
void V8CpuProfilerConnection::End() {
0 commit comments