diff options
Diffstat (limited to 'perf/c/local_thr.c')
-rw-r--r-- | perf/c/local_thr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perf/c/local_thr.c b/perf/c/local_thr.c index b58fac3..64c492d 100644 --- a/perf/c/local_thr.c +++ b/perf/c/local_thr.c @@ -90,7 +90,10 @@ int main (int argc, char *argv []) printf ("message size: %d [B]\n", (int) message_size); printf ("message count: %d\n", (int) message_count); printf ("mean throughput: %d [msg/s]\n", (int) throughput); - printf ("mean throughput: %3f [Mb/s]\n", (double) megabits); + printf ("mean throughput: %.3f [Mb/s]\n", (double) megabits); + + rc = zmq_term (ctx); + assert (rc == 0); return 0; } |