rt_task_wait_period(NULL);
}
FILE *file;
- file = fopen("ex10a.csv", "w");
+ file = fopen("ex10ab.csv", "w");
for(i = 0; i<SAMPLES-1; i++){
- fprintf(file, "%u\t%llu\n", i, times[i+1]-times[i]);
+ fprintf(file, "%u,%llu\n", i, times[i+1]-times[i]);
}
fclose(file);
}