(fiber, phase)
| 7034 | } |
| 7035 | |
| 7036 | function startPhaseTimer(fiber, phase) { |
| 7037 | if (enableUserTimingAPI) { |
| 7038 | if (!supportsUserTiming) { |
| 7039 | return; |
| 7040 | } |
| 7041 | clearPendingPhaseMeasurement(); |
| 7042 | if (!beginFiberMark(fiber, phase)) { |
| 7043 | return; |
| 7044 | } |
| 7045 | currentPhaseFiber = fiber; |
| 7046 | currentPhase = phase; |
| 7047 | } |
| 7048 | } |
| 7049 | |
| 7050 | function stopPhaseTimer() { |
| 7051 | if (enableUserTimingAPI) { |
no test coverage detected