mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
checkasm: print bench runs when benchmarking
Helps make sense of the possible noise in the results. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
590308ef40
commit
6c3a274901
@ -892,6 +892,9 @@ int main(int argc, char *argv[])
|
||||
fprintf(stderr, "checkasm: using random seed %u\n", seed);
|
||||
av_lfg_init(&checkasm_lfg, seed);
|
||||
|
||||
if (state.bench_pattern)
|
||||
fprintf(stderr, "checkasm: bench runs %" PRIu64 " (1 << %i)\n", bench_runs, av_log2(bench_runs));
|
||||
|
||||
check_cpu_flag(NULL, 0);
|
||||
for (i = 0; cpus[i].flag; i++)
|
||||
check_cpu_flag(cpus[i].name, cpus[i].flag);
|
||||
|
Loading…
Reference in New Issue
Block a user