(fiber)
| 7688 | } |
| 7689 | |
| 7690 | function startWorkTimer(fiber) { |
| 7691 | if (enableUserTimingAPI) { |
| 7692 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7693 | return; |
| 7694 | } |
| 7695 | // If we pause, this is the fiber to unwind from. |
| 7696 | currentFiber = fiber; |
| 7697 | if (!beginFiberMark(fiber, null)) { |
| 7698 | return; |
| 7699 | } |
| 7700 | fiber._debugIsCurrentlyTiming = true; |
| 7701 | } |
| 7702 | } |
| 7703 | |
| 7704 | function cancelWorkTimer(fiber) { |
| 7705 | if (enableUserTimingAPI) { |
no test coverage detected