MCPcopy Index your code
hub / github.com/nodejs/node / startCpuProfile

Function startCpuProfile

lib/v8.js:225–232  ·  view source on GitHub ↗

* Starting CPU Profile. * @param {object} [options] * @param {number} [options.sampleInterval] * @param {number} [options.maxBufferSize] * @returns {SyncCPUProfileHandle}

(options)

Source from the content-addressed store, hash-verified

223 * @returns {SyncCPUProfileHandle}
224 */
225function startCpuProfile(options) {
226 const {
227 samplingIntervalMicros,
228 maxSamples,
229 } = normalizeCpuProfileOptions(options);
230 const id = _startCpuProfile(samplingIntervalMicros, maxSamples);
231 return new SyncCPUProfileHandle(id);
232}
233
234/**
235 * Starting Heap Profile.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected