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