We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e9bdb6 commit e6048b0Copy full SHA for e6048b0
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