diff options
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); |