(
entry, ticks, totalTicks, nonLibTicks)
| 987 | } |
| 988 | |
| 989 | printLine( |
| 990 | entry, ticks, totalTicks, nonLibTicks) { |
| 991 | const pct = ticks * 100 / totalTicks; |
| 992 | const nonLibPct = nonLibTicks != null |
| 993 | ? `${(ticks * 100 / nonLibTicks).toFixed(1).toString().padStart(5)}% ` |
| 994 | : ' '; |
| 995 | print(`${` ${ticks.toString().padStart(5)} ` + |
| 996 | pct.toFixed(1).toString().padStart(5)}% ${nonLibPct}${entry}`); |
| 997 | } |
| 998 | |
| 999 | printHeavyProfHeader() { |
| 1000 | print('\n [Bottom up (heavy) profile]:'); |
no test coverage detected