diff --git a/allocate.c b/allocate.c index 9ffc42e9614c50cde3e200781bac41b3c2fba581..275a8429a9cc9335c9056943b2b915c832ef49d9 100644 --- a/allocate.c +++ b/allocate.c @@ -179,7 +179,7 @@ int main(int argc, char *argv[]) { // printf("current time: %d\n", currentTime); headProcess->justStarted = 0; printf("%d,RUNNING,pid=%s,remaining_time=%d,cpu=%d - AAAA line 184\n", - deltaTime+1, headProcess->processID, headProcess->timeRemaining, j); + currentTime + headProcess->deltaTime, headProcess->processID, headProcess->timeRemaining, j); } }