(fiber)
| 7904 | } |
| 7905 | |
| 7906 | function startWorkTimer(fiber) { |
| 7907 | if (enableUserTimingAPI) { |
| 7908 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7909 | return; |
| 7910 | } |
| 7911 | // If we pause, this is the fiber to unwind from. |
| 7912 | currentFiber = fiber; |
| 7913 | if (!beginFiberMark(fiber, null)) { |
| 7914 | return; |
| 7915 | } |
| 7916 | fiber._debugIsCurrentlyTiming = true; |
| 7917 | } |
| 7918 | } |
| 7919 | |
| 7920 | function cancelWorkTimer(fiber) { |
| 7921 | if (enableUserTimingAPI) { |
no test coverage detected