(fiber)
| 7791 | } |
| 7792 | |
| 7793 | function startWorkTimer(fiber) { |
| 7794 | if (enableUserTimingAPI) { |
| 7795 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7796 | return; |
| 7797 | } |
| 7798 | // If we pause, this is the fiber to unwind from. |
| 7799 | currentFiber = fiber; |
| 7800 | if (!beginFiberMark(fiber, null)) { |
| 7801 | return; |
| 7802 | } |
| 7803 | fiber._debugIsCurrentlyTiming = true; |
| 7804 | } |
| 7805 | } |
| 7806 | |
| 7807 | function cancelWorkTimer(fiber) { |
| 7808 | if (enableUserTimingAPI) { |
no test coverage detected