Fix total goodput calculation for sender
This commit is contained in:
parent
7e28da0cbb
commit
a40f72ce6a
|
|
@ -72,7 +72,7 @@ sub parse_uvgrtp_send {
|
|||
$t_sgp = int($t_sgp / $lines);
|
||||
|
||||
if ($threads gt 1) {
|
||||
$t_tgp = int((($TOTAL_BYTES / 1000 / 1000) * 8) / (($t_total / $lines) * 1000) * 1000);
|
||||
$t_tgp = int((($TOTAL_BYTES / 1000 / 1000) * $threads) / (($t_total / $lines) * 1000) * 1000);
|
||||
} else {
|
||||
$t_tgp = $t_sgp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue