(fiber)
| 14081 | } |
| 14082 | } |
| 14083 | function startWorkTimer(fiber) { |
| 14084 | { |
| 14085 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 14086 | return; |
| 14087 | } // If we pause, this is the fiber to unwind from. |
| 14088 | |
| 14089 | |
| 14090 | currentFiber = fiber; |
| 14091 | |
| 14092 | if (!beginFiberMark(fiber, null)) { |
| 14093 | return; |
| 14094 | } |
| 14095 | |
| 14096 | fiber._debugIsCurrentlyTiming = true; |
| 14097 | } |
| 14098 | } |
| 14099 | function cancelWorkTimer(fiber) { |
| 14100 | { |
| 14101 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
no test coverage detected