mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avutil/tests/lfg: Remove debugging start/stop timer
Fixes code with qemu ARM Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a50ccbd240
commit
1d0bad421c
@ -104,15 +104,12 @@ int main(void)
|
||||
int x = 0;
|
||||
int i, j;
|
||||
AVLFG state;
|
||||
|
||||
av_lfg_init(&state, 0xdeadbeef);
|
||||
for (j = 0; j < 10000; j++) {
|
||||
START_TIMER
|
||||
for (i = 0; i < 624; i++) {
|
||||
//av_log(NULL, AV_LOG_ERROR, "%X\n", av_lfg_get(&state));
|
||||
x += av_lfg_get(&state);
|
||||
}
|
||||
STOP_TIMER("624 calls of av_lfg_get");
|
||||
}
|
||||
av_log(NULL, AV_LOG_ERROR, "final value:%X\n", x);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user