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

Method enable

lib/internal/perf/event_loop_delay.js:49–56  ·  view source on GitHub ↗

* @returns {boolean}

()

Source from the content-addressed store, hash-verified

47 * @returns {boolean}
48 */
49 enable() {
50 if (this[kEnabled] === undefined)
51 throw new ERR_INVALID_THIS('ELDHistogram');
52 if (this[kEnabled]) return false;
53 this[kEnabled] = true;
54 this[kHandle].start();
55 return true;
56 }
57
58 /**
59 * @returns {boolean}

Callers 6

enableFunction · 0.45
enableFunction · 0.45
enableFunction · 0.45
initAfterStartFunction · 0.45
_enableMethod · 0.45
toggleTraceCategoryStateFunction · 0.45

Calls 1

startMethod · 0.45

Tested by

no test coverage detected