Fix: Added new line after average time message for formatting purposes
This commit is contained in:
@@ -70,7 +70,7 @@ void benchmarking(size_t benchmarking_amount, int version_to_use, float complex
|
|||||||
double time = end.tv_sec- start.tv_sec + 1e-9 * (end.tv_nsec- start.tv_nsec);
|
double time = end.tv_sec- start.tv_sec + 1e-9 * (end.tv_nsec- start.tv_nsec);
|
||||||
printf("The total amount of time spent for %zu function calls: %lf seconds\n", benchmarking_amount,time);
|
printf("The total amount of time spent for %zu function calls: %lf seconds\n", benchmarking_amount,time);
|
||||||
double average = time / benchmarking_amount;
|
double average = time / benchmarking_amount;
|
||||||
printf("Average time per function: %lf seconds", average);
|
printf("Average time per function: %lf seconds\n", average);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned tests(void) {
|
unsigned tests(void) {
|
||||||
|
|||||||
Reference in New Issue
Block a user