mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
checkasm: print bench runs when benchmarking
Helps make sense of the possible noise in the results.
This commit is contained in:
parent
b1adf6d1d0
commit
d43e123837
@ -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