(fiber, phase)
| 7040 | } |
| 7041 | |
| 7042 | function startPhaseTimer(fiber, phase) { |
| 7043 | if (enableUserTimingAPI) { |
| 7044 | if (!supportsUserTiming) { |
| 7045 | return; |
| 7046 | } |
| 7047 | clearPendingPhaseMeasurement(); |
| 7048 | if (!beginFiberMark(fiber, phase)) { |
| 7049 | return; |
| 7050 | } |
| 7051 | currentPhaseFiber = fiber; |
| 7052 | currentPhase = phase; |
| 7053 | } |
| 7054 | } |
| 7055 | |
| 7056 | function stopPhaseTimer() { |
| 7057 | if (enableUserTimingAPI) { |
no test coverage detected