(fiber, phase)
| 7803 | } |
| 7804 | |
| 7805 | function startPhaseTimer(fiber, phase) { |
| 7806 | if (enableUserTimingAPI) { |
| 7807 | if (!supportsUserTiming) { |
| 7808 | return; |
| 7809 | } |
| 7810 | clearPendingPhaseMeasurement(); |
| 7811 | if (!beginFiberMark(fiber, phase)) { |
| 7812 | return; |
| 7813 | } |
| 7814 | currentPhaseFiber = fiber; |
| 7815 | currentPhase = phase; |
| 7816 | } |
| 7817 | } |
| 7818 | |
| 7819 | function stopPhaseTimer() { |
| 7820 | if (enableUserTimingAPI) { |
no test coverage detected