Browse Source

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

Fixes code with qemu ARM

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Michael Niedermayer 8 years ago
parent
commit
1d0bad421c
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavutil/tests/lfg.c

+ 0
- 3
libavutil/tests/lfg.c View File

@@ -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…
Cancel
Save