Skip to Content.
Sympa Menu

thrulay-users - Calculating throughput

Subject: Discussion list for thrulay, a network testing tool

List archive

Calculating throughput


Chronological Thread 
  • From: Daniel Schaffrath <>
  • To: thrulay users <>
  • Subject: Calculating throughput
  • Date: Fri, 27 Apr 2007 13:53:13 +0200

The line calculating the throughput contains a magic 8.0. Why is that? server_block_size has the unit bytes, timer.runtime the unit seconds. And why is it 1000000 and not 1024**2 to convert to Mega?

(double)stats[id].blocks_since_first * (double)server_block_size * 8.0 / 1000000.0 / timer.runtime



Archive powered by MHonArc 2.6.16.

Top of Page