aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJ. Dekker <jdek@itanimul.li>2024-08-21 12:52:20 +0200
committerJ. Dekker <jdek@itanimul.li>2024-08-28 11:45:46 +0200
commit03f26549cd8ee1efb1441898fc0b815e1c918496 (patch)
treee490bba1f581faa88c332b575832a538fc4010c2 /tests
parent42528ff835357e87457e0fabe2abc1cdad0325ee (diff)
downloadffmpeg-03f26549cd8ee1efb1441898fc0b815e1c918496.tar.gz
checkasm: print only results to stdout
Signed-off-by: J. Dekker <jdek@itanimul.li>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/checkasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index 567796182f..f7070c88c5 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -779,7 +779,7 @@ static int bench_init_linux(void)
#endif
};
- printf("benchmarking with Linux Perf Monitoring API\n");
+ fprintf(stderr, "benchmarking with Linux Perf Monitoring API\n");
state.sysfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, 0);
if (state.sysfd == -1) {
@@ -806,7 +806,7 @@ static int bench_init_ffmpeg(void)
fprintf(stderr, "checkasm: unable to execute platform specific timer\n");
return -1;
}
- printf("benchmarking with native FFmpeg timers\n");
+ fprintf(stderr, "benchmarking with native FFmpeg timers\n");
return 0;
#else
fprintf(stderr, "checkasm: --bench is not supported on your system\n");
@@ -828,7 +828,7 @@ static int bench_init(void)
return ret;
state.nop_time = measure_nop_time();
- printf("nop: %d.%d\n", state.nop_time/10, state.nop_time%10);
+ fprintf(stderr, "nop: %d.%d\n", state.nop_time/10, state.nop_time%10);
return 0;
}