diff --git a/testsBP/sieve/sieve.c b/testsBP/sieve/sieve.c index 949d9fde..e8207404 100644 --- a/testsBP/sieve/sieve.c +++ b/testsBP/sieve/sieve.c @@ -61,26 +61,26 @@ int main () { int ans; - struct timeval before , after; - gettimeofday(&before , NULL); + //struct timeval before , after; + //gettimeofday(&before , NULL); ans = sieve (); - gettimeofday(&after , NULL); + //gettimeofday(&after , NULL); if (ans != 1899) printf ("Sieve result wrong, ans = %d, expected 1899", ans); - printf("Total time elapsed : %.0lf us\n" , time_diff(before , after) ); + //printf("Total time elapsed : %.0lf us\n" , time_diff(before , after) ); printf("Round 2\n"); - gettimeofday(&before , NULL); + //gettimeofday(&before , NULL); ans = sieve (); - gettimeofday(&after , NULL); + //gettimeofday(&after , NULL); if (ans != 1899) printf ("Sieve result wrong, ans = %d, expected 1899", ans); - printf("Total time elapsed : %.0lf us\n" , time_diff(before , after) ); + //printf("Total time elapsed : %.0lf us\n" , time_diff(before , after) ); return 0;