diff --git a/executionPr.csv b/executionPr.csv new file mode 100644 index 0000000..03e647f --- /dev/null +++ b/executionPr.csv @@ -0,0 +1,10 @@ +1,10,0,0 +2,40,0,0 +3,50,30,0 +4,211,201,0 +5,30,0,0 +6,40,20,0 +7,191,141,1 +8,30,0,0 +9,101,91,0 +10,61,1,0 diff --git a/performancePr.csv b/performancePr.csv new file mode 100644 index 0000000..e0f2a1d --- /dev/null +++ b/performancePr.csv @@ -0,0 +1 @@ +291,1,1 diff --git a/simulator.c b/simulator.c index 74251ad..c9166bf 100644 --- a/simulator.c +++ b/simulator.c @@ -364,8 +364,8 @@ struct perf_info schedule_RR(struct pinfo *processes) { // Déclaration de la fo } void write_file(struct pinfo * process, struct perf_info * perf) { - FILE *myStream_execution = fopen("executionRR.csv", "w"); - FILE *myStream_performance = fopen("performanceRR.csv", "w"); + FILE *myStream_execution = fopen("executionPr.csv", "w"); + FILE *myStream_performance = fopen("performancePr.csv", "w"); if (myStream_execution == NULL || myStream_performance == NULL) { perror("Erreur à l'ouverture des fichiers");