(fiber, phase)
| 7848 | } |
| 7849 | |
| 7850 | function startPhaseTimer(fiber, phase) { |
| 7851 | if (enableUserTimingAPI) { |
| 7852 | if (!supportsUserTiming) { |
| 7853 | return; |
| 7854 | } |
| 7855 | clearPendingPhaseMeasurement(); |
| 7856 | if (!beginFiberMark(fiber, phase)) { |
| 7857 | return; |
| 7858 | } |
| 7859 | currentPhaseFiber = fiber; |
| 7860 | currentPhase = phase; |
| 7861 | } |
| 7862 | } |
| 7863 | |
| 7864 | function stopPhaseTimer() { |
| 7865 | if (enableUserTimingAPI) { |
no test coverage detected