diff options
author | Justus Winter <justus@gnupg.org> | 2016-09-21 11:39:17 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-09-21 11:39:17 +0200 |
commit | e886674e0b1a85c51ac83ab982e813994ea0314b (patch) | |
tree | 7b8daf92b0c49ba3a6427d79e710cd4f50a10de0 /main.c | |
parent | 58dedd2cc54d59875b114d4edcadd6bd589ff37c (diff) |
Diffstat (limited to 'main.c')
-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. */ |