(fiber, phase)
| 14144 | } |
| 14145 | } |
| 14146 | function startPhaseTimer(fiber, phase) { |
| 14147 | { |
| 14148 | if (!supportsUserTiming) { |
| 14149 | return; |
| 14150 | } |
| 14151 | |
| 14152 | clearPendingPhaseMeasurement(); |
| 14153 | |
| 14154 | if (!beginFiberMark(fiber, phase)) { |
| 14155 | return; |
| 14156 | } |
| 14157 | |
| 14158 | currentPhaseFiber = fiber; |
| 14159 | currentPhase = phase; |
| 14160 | } |
| 14161 | } |
| 14162 | function stopPhaseTimer() { |
| 14163 | { |
| 14164 | if (!supportsUserTiming) { |
no test coverage detected