(fiber, phase)
| 7961 | } |
| 7962 | |
| 7963 | function startPhaseTimer(fiber, phase) { |
| 7964 | if (enableUserTimingAPI) { |
| 7965 | if (!supportsUserTiming) { |
| 7966 | return; |
| 7967 | } |
| 7968 | clearPendingPhaseMeasurement(); |
| 7969 | if (!beginFiberMark(fiber, phase)) { |
| 7970 | return; |
| 7971 | } |
| 7972 | currentPhaseFiber = fiber; |
| 7973 | currentPhase = phase; |
| 7974 | } |
| 7975 | } |
| 7976 | |
| 7977 | function stopPhaseTimer() { |
| 7978 | if (enableUserTimingAPI) { |
no test coverage detected