(calls: number, total: number)
| 1053 | |
| 1054 | /** Heading text over the observed rows, with the total. */ |
| 1055 | export function runtimeObservedCount(calls: number, total: number): string { |
| 1056 | return `${calls} observed ${calls === 1 ? 'call' : 'calls'}, ${total} ${total === 1 ? 'time' : 'times'} in all.`; |
| 1057 | } |
| 1058 | |
| 1059 | /** One observed row's count, beside the callee's name. */ |
| 1060 | export function runtimeRowCount(count: number): string { |