[zeromq-dev] perf/throughput tests calculates bandwith wrong
Erik Hugne
erik.hugne at ericsson.com
Mon Feb 25 13:32:57 CET 2013
So, i now realize that the bw figures are actually in _megabit_..
and shortly after sending, obviously i found the problem.
As i posted on IRC some moments ago:
[13:33] <haze_> it's an overflow on this line
[13:33] <haze_> throughput = (unsigned long)((double) message_count / (double)
elapsed * 1000000);
[13:33] <haze_> in local_thr
[13:33] <haze_> more specifically, (double) elapsed*1000000
//E
More information about the zeromq-dev
mailing list