(fiber)
| 7526 | } |
| 7527 | |
| 7528 | function startWorkTimer(fiber) { |
| 7529 | if (enableUserTimingAPI) { |
| 7530 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7531 | return; |
| 7532 | } |
| 7533 | // If we pause, this is the fiber to unwind from. |
| 7534 | currentFiber = fiber; |
| 7535 | if (!beginFiberMark(fiber, null)) { |
| 7536 | return; |
| 7537 | } |
| 7538 | fiber._debugIsCurrentlyTiming = true; |
| 7539 | } |
| 7540 | } |
| 7541 | |
| 7542 | function cancelWorkTimer(fiber) { |
| 7543 | if (enableUserTimingAPI) { |
no test coverage detected