(fiber: Fiber)
| 584 | } |
| 585 | |
| 586 | export function startProfilerTimer(fiber: Fiber): void { |
| 587 | if (!enableProfilerTimer) { |
| 588 | return; |
| 589 | } |
| 590 | |
| 591 | profilerStartTime = now(); |
| 592 | |
| 593 | if (((fiber.actualStartTime: any): number) < 0) { |
| 594 | fiber.actualStartTime = profilerStartTime; |
| 595 | } |
| 596 | } |
| 597 | |
| 598 | export function stopProfilerTimerIfRunning(fiber: Fiber): void { |
| 599 | if (!enableProfilerTimer) { |
no test coverage detected