Skip to content
Snippets Groups Projects
Commit 2aab0d52 authored by Elizabeth Baker's avatar Elizabeth Baker
Browse files

"RUNNING" time fiddles

parent 1e0094a0
Branches
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ int main(int argc, char *argv[]) { ...@@ -171,7 +171,7 @@ int main(int argc, char *argv[]) {
//next process in queue started //next process in queue started
if (headProcess != NULL && headProcess->justStarted) { if (headProcess != NULL && headProcess->justStarted) {
// printf("current time: %d\n", currentTime); // printf("current time: %d\n", currentTime);
printf("%d,RUNNING,pid=%s,remaining_time=%d,cpu=%d - AAAA line 181\n", printf("%d,RUNNING,pid=%s,remaining_time=%d,cpu=%d\n",
headProcess->startTime, headProcess->processID, headProcess->timeRemaining, j); headProcess->startTime, headProcess->processID, headProcess->timeRemaining, j);
headProcess->justStarted = 0; headProcess->justStarted = 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment