diff options
Diffstat (limited to 'libavcodec/fft-test.c')
-rw-r--r-- | libavcodec/fft-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index f62cf0d2bc..b7c83cf800 100644 --- a/libavcodec/fft-test.c +++ b/libavcodec/fft-test.c @@ -439,7 +439,7 @@ int main(int argc, char **argv) /* we measure during about 1 seconds */ nb_its = 1; for (;;) { - time_start = av_gettime(); + time_start = av_gettime_relative(); for (it = 0; it < nb_its; it++) { switch (transform) { case TRANSFORM_MDCT: @@ -464,7 +464,7 @@ int main(int argc, char **argv) #endif /* FFT_FLOAT */ } } - duration = av_gettime() - time_start; + duration = av_gettime_relative() - time_start; if (duration >= 1000000) break; nb_its *= 2; |