(ms: number)
| 161 | } |
| 162 | |
| 163 | export function markSchedulerSuspended(ms: number) { |
| 164 | if (enableProfiling) { |
| 165 | mainThreadIdCounter++; |
| 166 | |
| 167 | if (eventLog !== null) { |
| 168 | logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]); |
| 169 | } |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | export function markSchedulerUnsuspended(ms: number) { |
| 174 | if (enableProfiling) { |