Mellanox/sockperf

Labels wrong in tp mode when using --increase_output_precision

GoogleCodeExporter opened this issue · 1 comments

What steps will reproduce the problem?

1. Read the code, src/Client.cpp, lines 318, 321 and 324


What is the expected output? What do you see instead?

According to lines 318 and 324, values is in MBps, divided by 1000 to convert 
to GBps.

At line 321, labels are GBps but the value isn't divided => wrong label


What version of the product are you using? On what operating system?

Latest HEAD on RH6


Please provide any additional information below.

-                       log_msg("Summary: BandWidth is %.9f GBps (%.9f Gbps)", 
MBps, MBps*8);
+                       log_msg("Summary: BandWidth is %.9f MBps (%.9f Mbps)", 
MBps, MBps*8);

Original issue reported on code.google.com by tgu...@gmail.com on 20 Jan 2015 at 3:21

Attachments:

PR submitted as #132