(fiber, phase)
| 10572 | } |
| 10573 | } |
| 10574 | function startPhaseTimer(fiber, phase) { |
| 10575 | { |
| 10576 | if (!supportsUserTiming) { |
| 10577 | return; |
| 10578 | } |
| 10579 | |
| 10580 | clearPendingPhaseMeasurement(); |
| 10581 | |
| 10582 | if (!beginFiberMark(fiber, phase)) { |
| 10583 | return; |
| 10584 | } |
| 10585 | |
| 10586 | currentPhaseFiber = fiber; |
| 10587 | currentPhase = phase; |
| 10588 | } |
| 10589 | } |
| 10590 | function stopPhaseTimer() { |
| 10591 | { |
| 10592 | if (!supportsUserTiming) { |
no test coverage detected