diff options
author | Martin Lucina <mato@kotelna.sk> | 2011-09-08 16:38:46 +0200 |
---|---|---|
committer | Martin Lucina <martin@lucina.net> | 2012-01-23 08:54:16 +0100 |
commit | 88f712b4a31c95caef4f34c4ec65793c392314a6 (patch) | |
tree | 2f17936ce9d53b1b13908e8d4288846aaa604263 /perf/local_thr.cpp | |
parent | ad3e013f74d309b86e8f087932203e5787fe2d2d (diff) | |
parent | 75af6aed482ab16997c1388fe801f74d11ec12a4 (diff) |
Imported Debian patch 2.1.9-1debian/2.1.9-1
Diffstat (limited to 'perf/local_thr.cpp')
-rw-r--r-- | perf/local_thr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp index 0dea8c6..b584c1d 100644 --- a/perf/local_thr.cpp +++ b/perf/local_thr.cpp @@ -115,7 +115,7 @@ int main (int argc, char *argv []) throughput = (unsigned long) ((double) message_count / (double) elapsed * 1000000); - megabits = (double) (throughput * message_size * 8) / 1000000; + megabits = (double) ((double) throughput * message_size * 8) / 1000000; printf ("message size: %d [B]\n", (int) message_size); printf ("message count: %d\n", (int) message_count); |