diff options
-rw-r--r-- | main.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -96,11 +96,12 @@ void print_stats (const char *id, size_t n, struct timeval *tv) { double duration = tv->tv_sec + (tv->tv_usec / 1000000.); - printf ("% 10s: % 3is%06ius\t%fns\t%9.3f (1/s)\n", - id, - (int) tv->tv_sec, (int) tv->tv_usec, - 1000000000. * duration / n, - n / duration); + fprintf (stderr, + "% 10s: % 3is%06ius\t%fns\t%9.3f (1/s)\n", + id, + (int) tv->tv_sec, (int) tv->tv_usec, + 1000000000. * duration / n, + n / duration); } /* Options. */ |