(util1, util2)
| 9 | } = internalBinding('performance'); |
| 10 | |
| 11 | function eventLoopUtilization(util1, util2) { |
| 12 | // Get the original milestone timestamps that calculated from the beginning |
| 13 | // of the process. |
| 14 | return internalEventLoopUtilization( |
| 15 | milestones[NODE_PERFORMANCE_MILESTONE_LOOP_START] / 1e6, |
| 16 | loopIdleTime(), |
| 17 | util1, |
| 18 | util2, |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | function internalEventLoopUtilization(loopStart, loopIdleTime, util1, util2) { |
| 23 | if (loopStart <= 0) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…