Searched refs:cpuTrackHeight (Results 1 – 1 of 1) sorted by relevance
78 const cpuTrackHeight = Math.floor(RECT_HEIGHT / data.maxCpu); constant111 const y = MARGIN_TOP + cpuTrackHeight * cpu + cpu;112 ctx.fillRect(rectStart, y, rectEnd - rectStart, cpuTrackHeight);138 const cpuTrackHeight = Math.floor(RECT_HEIGHT / data.maxCpu); constant139 const cpu = Math.floor((y - MARGIN_TOP) / (cpuTrackHeight + 1));