(fiber)
| 7653 | } |
| 7654 | |
| 7655 | function startWorkTimer(fiber) { |
| 7656 | if (enableUserTimingAPI) { |
| 7657 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7658 | return; |
| 7659 | } |
| 7660 | // If we pause, this is the fiber to unwind from. |
| 7661 | currentFiber = fiber; |
| 7662 | if (!beginFiberMark(fiber, null)) { |
| 7663 | return; |
| 7664 | } |
| 7665 | fiber._debugIsCurrentlyTiming = true; |
| 7666 | } |
| 7667 | } |
| 7668 | |
| 7669 | function cancelWorkTimer(fiber) { |
| 7670 | if (enableUserTimingAPI) { |
no test coverage detected