thrulay-users - Calculating throughput
Subject: Discussion list for thrulay, a network testing tool
List archive
- 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
- Calculating throughput, Daniel Schaffrath, 04/27/2007
- Re: [thrulay] Calculating throughput, Federico Montesino Pouzols, 04/28/2007
Archive powered by MHonArc 2.6.16.