diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-02 14:59:53 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-02 14:59:53 +0200 |
commit | f92de9b2a9ad73fd7cd966e65b5a06b725e779fc (patch) | |
tree | 119769a0bf8623e5c266c232eb1ee29cccaaa1af /perf/cpp | |
parent | 702fdbb5dd6a83e7f656e8d1190e695ebb636765 (diff) |
bug during terminal shutdown fixed
Diffstat (limited to 'perf/cpp')
-rw-r--r-- | perf/cpp/local_thr.cpp | 2 | ||||
-rw-r--r-- | perf/cpp/remote_lat.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perf/cpp/local_thr.cpp b/perf/cpp/local_thr.cpp index e328117..3e961de 100644 --- a/perf/cpp/local_thr.cpp +++ b/perf/cpp/local_thr.cpp @@ -71,7 +71,7 @@ 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); return 0; } diff --git a/perf/cpp/remote_lat.cpp b/perf/cpp/remote_lat.cpp index 3472fd8..169ed1e 100644 --- a/perf/cpp/remote_lat.cpp +++ b/perf/cpp/remote_lat.cpp @@ -64,7 +64,7 @@ int main (int argc, char *argv []) printf ("message size: %d [B]\n", (int) message_size); printf ("roundtrip count: %d\n", (int) roundtrip_count); - printf ("average latency: %3f [us]\n", (double) latency); + printf ("average latency: %.3f [us]\n", (double) latency); return 0; } |