(fiber, phase)
| 7704 | } |
| 7705 | |
| 7706 | function startPhaseTimer(fiber, phase) { |
| 7707 | if (enableUserTimingAPI) { |
| 7708 | if (!supportsUserTiming) { |
| 7709 | return; |
| 7710 | } |
| 7711 | clearPendingPhaseMeasurement(); |
| 7712 | if (!beginFiberMark(fiber, phase)) { |
| 7713 | return; |
| 7714 | } |
| 7715 | currentPhaseFiber = fiber; |
| 7716 | currentPhase = phase; |
| 7717 | } |
| 7718 | } |
| 7719 | |
| 7720 | function stopPhaseTimer() { |
| 7721 | if (enableUserTimingAPI) { |
no test coverage detected