[FFmpeg-devel] [PATCH v2] checkasm: add sample argument to adjust during bench
Henrik Gramner
henrik at gramner.com
Tue May 21 15:48:21 EEST 2024
On Tue, May 21, 2024 at 2:33 PM J. Dekker <jdek at itanimul.li> wrote:
> @@ -338,8 +338,9 @@ typedef struct CheckasmPerf {
> uint64_t tsum = 0;\
> int ti, tcount = 0;\
> uint64_t t = 0; \
> + const uint64_t truns = bench_runs;\
> checkasm_set_signal_handler_state(1);\
> - for (ti = 0; ti < BENCH_RUNS; ti++) {\
> + for (ti = 0; ti < truns; ti++) {\
This is comparing int with uint64_t. We should probably just use int
for the sample count too.
More information about the ffmpeg-devel
mailing list