(fiber, phase)
| 7710 | } |
| 7711 | |
| 7712 | function startPhaseTimer(fiber, phase) { |
| 7713 | if (enableUserTimingAPI) { |
| 7714 | if (!supportsUserTiming) { |
| 7715 | return; |
| 7716 | } |
| 7717 | clearPendingPhaseMeasurement(); |
| 7718 | if (!beginFiberMark(fiber, phase)) { |
| 7719 | return; |
| 7720 | } |
| 7721 | currentPhaseFiber = fiber; |
| 7722 | currentPhase = phase; |
| 7723 | } |
| 7724 | } |
| 7725 | |
| 7726 | function stopPhaseTimer() { |
| 7727 | if (enableUserTimingAPI) { |
no test coverage detected