(fiber, phase)
| 6943 | } |
| 6944 | |
| 6945 | function startPhaseTimer(fiber, phase) { |
| 6946 | if (enableUserTimingAPI) { |
| 6947 | if (!supportsUserTiming) { |
| 6948 | return; |
| 6949 | } |
| 6950 | clearPendingPhaseMeasurement(); |
| 6951 | if (!beginFiberMark(fiber, phase)) { |
| 6952 | return; |
| 6953 | } |
| 6954 | currentPhaseFiber = fiber; |
| 6955 | currentPhase = phase; |
| 6956 | } |
| 6957 | } |
| 6958 | |
| 6959 | function stopPhaseTimer() { |
| 6960 | if (enableUserTimingAPI) { |
no test coverage detected