Fix total goodput calculation for sender

This commit is contained in:
Aaro Altonen 2020-04-28 11:38:13 +03:00
parent 7e28da0cbb
commit a40f72ce6a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}