feat: enhance context switch handling in Gantt chart and add related tests
This commit is contained in:
1 parent
9f0a05db62
commit
64bbc4ca27
10 files changed
+135
-14
No files matched your search
@@ -239,6 +239,9 @@ export class SimulationEngine {
|
||||
readyQueue: this._readyQueue.map((rt) => rt.processId),
|
||||
states,
|
||||
contextSwitching,
|
||||
ctxSwitchForProcess: contextSwitching
|
||||
? (this._readyQueue[0]?.processId ?? null)
|
||||
: null,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user