(fiber, phase)
| 7745 | } |
| 7746 | |
| 7747 | function startPhaseTimer(fiber, phase) { |
| 7748 | if (enableUserTimingAPI) { |
| 7749 | if (!supportsUserTiming) { |
| 7750 | return; |
| 7751 | } |
| 7752 | clearPendingPhaseMeasurement(); |
| 7753 | if (!beginFiberMark(fiber, phase)) { |
| 7754 | return; |
| 7755 | } |
| 7756 | currentPhaseFiber = fiber; |
| 7757 | currentPhase = phase; |
| 7758 | } |
| 7759 | } |
| 7760 | |
| 7761 | function stopPhaseTimer() { |
| 7762 | if (enableUserTimingAPI) { |
no test coverage detected