(lanes: Lanes)
| 215 | } |
| 216 | |
| 217 | export function markCommitStarted(lanes: Lanes): void { |
| 218 | if (enableSchedulingProfiler) { |
| 219 | if ( |
| 220 | injectedProfilingHooks !== null && |
| 221 | typeof injectedProfilingHooks.markCommitStarted === 'function' |
| 222 | ) { |
| 223 | injectedProfilingHooks.markCommitStarted(lanes); |
| 224 | } |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | export function markCommitStopped(): void { |
| 229 | if (enableSchedulingProfiler) { |