bug during terminal shutdown fixed

This commit is contained in:
Martin Sustrik
2009-09-02 14:59:53 +02:00
parent 702fdbb5dd
commit f92de9b2a9
7 changed files with 41 additions and 17 deletions

View File

@@ -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;
}