(fiber, phase)
| 10065 | } |
| 10066 | |
| 10067 | function startPhaseTimer(fiber, phase) { |
| 10068 | if (enableUserTimingAPI) { |
| 10069 | if (!supportsUserTiming) { |
| 10070 | return; |
| 10071 | } |
| 10072 | clearPendingPhaseMeasurement(); |
| 10073 | if (!beginFiberMark(fiber, phase)) { |
| 10074 | return; |
| 10075 | } |
| 10076 | currentPhaseFiber = fiber; |
| 10077 | currentPhase = phase; |
| 10078 | } |
| 10079 | } |
| 10080 | |
| 10081 | function stopPhaseTimer() { |
| 10082 | if (enableUserTimingAPI) { |
no test coverage detected