Commit 1d0bad42 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/tests/lfg: Remove debugging start/stop timer

Fixes code with qemu ARM
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent a50ccbd2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment