(fiber)
| 7746 | } |
| 7747 | |
| 7748 | function startWorkTimer(fiber) { |
| 7749 | if (enableUserTimingAPI) { |
| 7750 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7751 | return; |
| 7752 | } |
| 7753 | // If we pause, this is the fiber to unwind from. |
| 7754 | currentFiber = fiber; |
| 7755 | if (!beginFiberMark(fiber, null)) { |
| 7756 | return; |
| 7757 | } |
| 7758 | fiber._debugIsCurrentlyTiming = true; |
| 7759 | } |
| 7760 | } |
| 7761 | |
| 7762 | function cancelWorkTimer(fiber) { |
| 7763 | if (enableUserTimingAPI) { |
no test coverage detected