ran Pr algorithm to generate results
This commit is contained in:
parent
1d97ee7150
commit
aee7447c21
10
executionPr.csv
Normal file
10
executionPr.csv
Normal file
@ -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
|
|
1
performancePr.csv
Normal file
1
performancePr.csv
Normal file
@ -0,0 +1 @@
|
|||||||
|
291,1,1
|
|
@ -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) {
|
void write_file(struct pinfo * process, struct perf_info * perf) {
|
||||||
FILE *myStream_execution = fopen("executionRR.csv", "w");
|
FILE *myStream_execution = fopen("executionPr.csv", "w");
|
||||||
FILE *myStream_performance = fopen("performanceRR.csv", "w");
|
FILE *myStream_performance = fopen("performancePr.csv", "w");
|
||||||
|
|
||||||
if (myStream_execution == NULL || myStream_performance == NULL) {
|
if (myStream_execution == NULL || myStream_performance == NULL) {
|
||||||
perror("Erreur à l'ouverture des fichiers");
|
perror("Erreur à l'ouverture des fichiers");
|
||||||
|
Loading…
Reference in New Issue
Block a user