MCPcopy Create free account
hub / github.com/nodejs/node / processTimerEventEnd

Method processTimerEventEnd

deps/v8/tools/system-analyzer/processor.mjs:630–641  ·  view source on GitHub ↗
(type, time)

Source from the content-addressed store, hash-verified

628 }
629
630 processTimerEventEnd(type, time) {
631 // Timer-events are infrequent, and not deeply nested, doing a linear walk
632 // is usually good enough.
633 for (let i = this._timerTimeline.length - 1; i >= 0; i--) {
634 const timer = this._timerTimeline.at(i);
635 if (timer.type == type && !timer.isInitialized) {
636 timer.end(time);
637 return;
638 }
639 }
640 console.error('Couldn\'t find matching timer event start', {type, time});
641 }
642
643 get icTimeline() {
644 return this._icTimeline;

Callers

nothing calls this directly

Calls 3

atMethod · 0.45
endMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected