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

Method addStack

deps/v8/tools/profview/profile-utils.js:253–262  ·  view source on GitHub ↗
(file, tickIndex)

Source from the content-addressed store, hash-verified

251 }
252
253 addStack(file, tickIndex) {
254 let stack = file.ticks[tickIndex].s;
255 let step = this.isBottomUp ? 2 : -2;
256 let start = this.isBottomUp ? 0 : stack.length - 2;
257
258 let stackPos = findNextFrame(file, stack, start, step, this.filter);
259 addOrUpdateChildNode(this.tree, file, tickIndex, stackPos, this.isBottomUp);
260
261 this.tree.ticks++;
262 }
263}
264
265function buildCategoryTreeAndLookup() {

Callers

nothing calls this directly

Calls 2

findNextFrameFunction · 0.85
addOrUpdateChildNodeFunction · 0.85

Tested by

no test coverage detected