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

Method addOffsetSample

deps/v8/tools/profview/profview.js:1640–1643  ·  view source on GitHub ↗
(codeId, codeOffset)

Source from the content-addressed store, hash-verified

1638 }
1639
1640 addOffsetSample(codeId, codeOffset) {
1641 let codeIdOffsets = this.codes.get(codeId).offsets;
1642 codeIdOffsets[codeOffset] = (codeIdOffsets[codeOffset] || 0) + 1;
1643 }
1644}
1645
1646class SourcePositionTable {

Callers 1

constructorMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected