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