Initial transfer of larger repo from git. IF full history and branches are needed must go to github at https://github.com/DulcisL/CCUCoding.git
This commit is contained in:
commit
c09ce40be0
4048 files changed
+603256
No files matched your search
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
Lakota Dolce
|
||||
ProgHW05
|
||||
December 5, 2024
|
||||
Dr. Fuchs
|
||||
*/
|
||||
|
||||
//Preprocessing
|
||||
#include "my_queue.h"
|
||||
|
||||
|
||||
//Function Prototypes
|
||||
|
||||
/**main
|
||||
* @param: int argc - size of the argv array
|
||||
* @param: char *argv[] - passed in values from the run command.
|
||||
* @return: int value -> 0 for success, -1 for fail
|
||||
*/
|
||||
main (int argc, char *argv[]){
|
||||
//Initialize
|
||||
queue myqueue = newqueue();
|
||||
float waitTime = 0;
|
||||
float responseTime = 0;
|
||||
float turnAroundTime = 0;
|
||||
char * input = "";
|
||||
|
||||
|
||||
//Take input for queue to use
|
||||
|
||||
//Get processes
|
||||
//create process class to store processes in queue
|
||||
|
||||
|
||||
//Call appropriate functions
|
||||
//FCFS
|
||||
//PP
|
||||
|
||||
//output the events
|
||||
|
||||
//print out
|
||||
//Avg wait time
|
||||
//Avg response
|
||||
//Avg turn aroud
|
||||
//CPU utilization
|
||||
|
||||
}
|
||||
|
||||
//Functions
|
||||
Reference in new issue
Block a user