(fiber, phase)
| 7071 | } |
| 7072 | |
| 7073 | function startPhaseTimer(fiber, phase) { |
| 7074 | if (enableUserTimingAPI) { |
| 7075 | if (!supportsUserTiming) { |
| 7076 | return; |
| 7077 | } |
| 7078 | clearPendingPhaseMeasurement(); |
| 7079 | if (!beginFiberMark(fiber, phase)) { |
| 7080 | return; |
| 7081 | } |
| 7082 | currentPhaseFiber = fiber; |
| 7083 | currentPhase = phase; |
| 7084 | } |
| 7085 | } |
| 7086 | |
| 7087 | function stopPhaseTimer() { |
| 7088 | if (enableUserTimingAPI) { |
no test coverage detected