Profiler.setSamplingIntervalChanges CPU profiler sampling interval. Must be called before CPU profiles recording started.
| Name | Type | Description |
|---|---|---|
interval | integer | New sampling interval in microseconds. |
{
"id": 1,
"method": "Profiler.setSamplingInterval",
"params": {
"interval": 1
}
}
{
"id": 1,
"result": {}
}
const result = await send('Profiler.setSamplingInterval', {"interval": 1});
console.log(result);