(fiber)
| 10509 | } |
| 10510 | } |
| 10511 | function startWorkTimer(fiber) { |
| 10512 | { |
| 10513 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 10514 | return; |
| 10515 | } // If we pause, this is the fiber to unwind from. |
| 10516 | |
| 10517 | |
| 10518 | currentFiber = fiber; |
| 10519 | |
| 10520 | if (!beginFiberMark(fiber, null)) { |
| 10521 | return; |
| 10522 | } |
| 10523 | |
| 10524 | fiber._debugIsCurrentlyTiming = true; |
| 10525 | } |
| 10526 | } |
| 10527 | function cancelWorkTimer(fiber) { |
| 10528 | { |
| 10529 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
no test coverage detected