Skip to content

Commit 799afff

Browse files
committed
Fix mbps calculation
1 parent 55bc443 commit 799afff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

defs/bytes_counter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (c *BytesCounter) Average() float64 {
4545
}
4646

4747
func (c *BytesCounter) AvgMbps() float64 {
48-
var base float64 = 100000
48+
var base float64 = 125000
4949
if c.mebi {
5050
base = 131072
5151
}

0 commit comments

Comments
 (0)