(fiber)
| 6886 | } |
| 6887 | |
| 6888 | function startWorkTimer(fiber) { |
| 6889 | if (enableUserTimingAPI) { |
| 6890 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 6891 | return; |
| 6892 | } |
| 6893 | // If we pause, this is the fiber to unwind from. |
| 6894 | currentFiber = fiber; |
| 6895 | if (!beginFiberMark(fiber, null)) { |
| 6896 | return; |
| 6897 | } |
| 6898 | fiber._debugIsCurrentlyTiming = true; |
| 6899 | } |
| 6900 | } |
| 6901 | |
| 6902 | function cancelWorkTimer(fiber) { |
| 6903 | if (enableUserTimingAPI) { |
no test coverage detected