mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-22 16:02:31 +02:00
win port of java binding + java perf tests
This commit is contained in:
@@ -73,7 +73,8 @@ int main (int argc, char *argv [])
|
||||
if (elapsed == 0)
|
||||
elapsed = 1;
|
||||
|
||||
throughput = (double) message_count / (double) elapsed * 1000000;
|
||||
throughput = (unsigned long)
|
||||
((double) message_count / (double) elapsed * 1000000);
|
||||
megabits = (double) (throughput * message_size * 8) / 1000000;
|
||||
|
||||
printf ("message size: %d [B]\n", (int) message_size);
|
||||
|
Reference in New Issue
Block a user