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

Method extractCodeEntryType

deps/v8/tools/system-analyzer/log/tick.mjs:55–61  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

53 }
54
55 static extractCodeEntryType(entry) {
56 if (entry?.state !== undefined) {
57 return 'JS ' + Profile.getKindFromState(entry.state);
58 }
59 if (entry?.vmState) return Profile.vmStateString(entry.vmState);
60 return 'Other';
61 }
62}

Callers 2

extractTypeMethod · 0.95
typeMethod · 0.80

Calls 2

getKindFromStateMethod · 0.80
vmStateStringMethod · 0.80

Tested by

no test coverage detected