- Added `priority_rr` algorithm to handle scheduling based on priority and round-robin principles. - Created unit tests for `select()`, `shouldPreempt()`, and `isQuantumExpired()` functions to ensure correct behavior. - Developed integration tests to validate the scheduling logic under various scenarios, including preemption and round-robin execution. - Introduced `useExport` hook for exporting process metrics to CSV format. - Added `useGanttScroll` hook to manage smooth scrolling of the Gantt chart during simulation.
12 lines
204 B
TypeScript
12 lines
204 B
TypeScript
import AppLayout from './components/Layout/AppLayout';
|
|
import { useSimulation } from './hooks/useSimulation';
|
|
|
|
function App() {
|
|
useSimulation();
|
|
return (
|
|
<AppLayout />
|
|
);
|
|
}
|
|
|
|
export default App;
|