1
0

ran Pr algorithm to generate results

This commit is contained in:
2024-10-15 10:55:24 +02:00
parent 1d97ee7150
commit aee7447c21
3 changed files with 13 additions and 2 deletions

View File

@@ -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");