|
2 | 2 |
|
3 | 3 | #include "hdr/stdint_proxy.h" |
4 | 4 | #include "src/__support/CPP/algorithm.h" |
5 | | -#include "src/__support/CPP/array.h" |
6 | 5 | #include "src/__support/CPP/atomic.h" |
7 | 6 | #include "src/__support/CPP/string.h" |
8 | 7 | #include "src/__support/FPUtil/FPBits.h" |
|
12 | 11 | #include "src/__support/macros/config.h" |
13 | 12 | #include "src/__support/time/gpu/time_utils.h" |
14 | 13 | #include "src/stdio/printf.h" |
| 14 | +#include "src/time/clock.h" |
15 | 15 |
|
16 | 16 | namespace LIBC_NAMESPACE_DECL { |
17 | 17 | namespace benchmarks { |
@@ -136,9 +136,11 @@ void print_results(Benchmark *b) { |
136 | 136 | LIBC_NAMESPACE::printf( |
137 | 137 | "%-24s |%15.0f |%9.0f |%8llu |%8llu |%11llu |%9u |\n", |
138 | 138 | b->get_test_name().data(), final_result.cycles, |
139 | | - final_result.standard_deviation, (unsigned long long)final_result.min, |
140 | | - (unsigned long long)final_result.max, |
141 | | - (unsigned long long)final_result.total_iterations, (unsigned)num_threads); |
| 139 | + final_result.standard_deviation, |
| 140 | + static_cast<unsigned long long>(final_result.min), |
| 141 | + static_cast<unsigned long long>(final_result.max), |
| 142 | + static_cast<unsigned long long>(final_result.total_iterations), |
| 143 | + static_cast<unsigned>(num_threads)); |
142 | 144 | } |
143 | 145 |
|
144 | 146 | void print_header() { |
|
0 commit comments