Starting work on Simulator 3, SJF works-ish...

+- config0.cnf (SJF mode)
+- simulator.c/h
+- sim03
This commit is contained in:
Charles Descamps 2024-03-13 15:27:58 -07:00
parent 90c3f8cc3f
commit 7035f119a8
5 changed files with 87 additions and 8 deletions

View file

@ -131,6 +131,18 @@ Dependencies: ???
*/
ProcessControlBlockLL *fillProcessList(ConfigDataType *configPtr, OpCodeType *metadataPtr, ProcessControlBlockLL *headPointer);
/*
Name: findMin
Process: compares two values, returns the smaller of the two.
Function Input/Parameters: two integer values (int)
Function Output/Parameters: none
Function Output/Returned: minimum of the two input integer values (int)
Device Input/Device: none
Device Output/Device: none
Dependencies: none
*/
int findMin(int one, int another);
/*
Name: logOutput
Process: Takes in a string, and then outputs it to monitor AND/OR file