MCPcopy Create free account
hub / github.com/google/pprof / drawSep

Function drawSep

internal/driver/html/stacks.js:482–490  ·  view source on GitHub ↗
(y, posTotal, negTotal)

Source from the content-addressed store, hash-verified

480 }
481
482 function drawSep(y, posTotal, negTotal) {
483 const m = document.createElement('div');
484 m.innerText = summary(posTotal, negTotal);
485 m.style.top = (y-ROW) + 'px';
486 m.style.left = PADDING + 'px';
487 m.style.width = (chart.clientWidth - PADDING*2) + 'px';
488 m.classList.add('separator');
489 return m;
490 }
491
492 // addElem registers an element that belongs to the specified src.
493 function addElem(src, elem) {

Callers 1

displayFunction · 0.85

Calls 1

summaryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…