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

Method constructor

deps/v8/tools/system-analyzer/log/tick.mjs:9–17  ·  view source on GitHub ↗
(time, vmState, processedStack)

Source from the content-addressed store, hash-verified

7
8export class TickLogEntry extends LogEntry {
9 constructor(time, vmState, processedStack) {
10 super(TickLogEntry.extractType(vmState, processedStack), time);
11 /** @type {string} */
12 this.state = vmState;
13 /** @type {CodeEntry[]} */
14 this.stack = processedStack;
15 /** @type {number} */
16 this._endTime = time;
17 }
18
19 end(time) {
20 if (this.isInitialized) throw new Error('Invalid timer change');

Callers

nothing calls this directly

Calls 1

extractTypeMethod · 0.80

Tested by

no test coverage detected