X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=idct_test.c;h=e35a17b1b760edbe8ea104ea239abef5160ab7d4;hb=1c432c018bc1ac92c5b327312fb9d21f666ca0e0;hp=b4cec384353703be6fb547b4db84114a1bb11eeb;hpb=7a58d5cefdccb21fb1bfb1b86a816fd686ccce66;p=fjl diff --git a/idct_test.c b/idct_test.c index b4cec38..e35a17b 100644 --- a/idct_test.c +++ b/idct_test.c @@ -109,7 +109,7 @@ void test_performance(idct_func_t* idct) gettimeofday(&now, NULL); double diff = timediff(&start, &now); - printf("%u runs in %.2f seconds = %.2f DCTs/sec\n", + printf("%u runs in %.2f seconds = %.2f IDCTs/sec\n", num_runs, diff, num_runs / diff); } @@ -130,6 +130,9 @@ int main(void) printf("idct_reference:\n"); test_all_idct(idct_reference); + printf("idct_float:\n"); + test_all_idct(idct_float); + printf("All tests pass.\n"); return 0; }