feat: enhance context switch handling in Gantt chart and add related tests

This commit is contained in:
Lucas Guerra committed 2026-03-19 17:43:07 -03:00
1 parent 9f0a05db62
commit 64bbc4ca27
10 files changed
+135 -14

No files matched your search

+3
View File
@@ -239,6 +239,9 @@ export class SimulationEngine {
readyQueue: this._readyQueue.map((rt) => rt.processId),
states,
contextSwitching,
ctxSwitchForProcess: contextSwitching
? (this._readyQueue[0]?.processId ?? null)
: null,
};
}
}