(fiber, phase)
| 7583 | } |
| 7584 | |
| 7585 | function startPhaseTimer(fiber, phase) { |
| 7586 | if (enableUserTimingAPI) { |
| 7587 | if (!supportsUserTiming) { |
| 7588 | return; |
| 7589 | } |
| 7590 | clearPendingPhaseMeasurement(); |
| 7591 | if (!beginFiberMark(fiber, phase)) { |
| 7592 | return; |
| 7593 | } |
| 7594 | currentPhaseFiber = fiber; |
| 7595 | currentPhase = phase; |
| 7596 | } |
| 7597 | } |
| 7598 | |
| 7599 | function stopPhaseTimer() { |
| 7600 | if (enableUserTimingAPI) { |
no test coverage detected