updating for arm32v7 compat

main
eatadick 3 years ago
parent 8e5fc7da0d
commit 42b21916f2

File diff suppressed because one or more lines are too long

@ -32,7 +32,7 @@ type StreamIntervalReport struct {
EndInterval float32 `json:"end"`
Seconds float32 `json:"seconds"`
Bytes int `json:"bytes"`
BitsPerSecond float64 `json:"bits_per_second"`
BitsPerSecond float32 `json:"bits_per_second"`
Retransmissions int `json:"retransmissions"`
CongestionWindow int `json:"congestion_window"`
Omitted bool `json:"omitted"`
@ -58,7 +58,7 @@ type StreamIntervalSumReport struct {
EndInterval float32 `json:"end"`
Seconds float32 `json:"seconds"`
Bytes int `json:"bytes"`
BitsPerSecond float64 `json:"bits_per_second"`
BitsPerSecond float32 `json:"bits_per_second"`
Omitted bool `json:"omitted"`
}
@ -104,7 +104,7 @@ type UdpStreamEndReport struct {
End float32 `json:"end"`
Seconds float32 `json:"seconds"`
Bytes int `json:"bytes"`
BitsPerSecond float64 `json:"bits_per_second"`
BitsPerSecond float32 `json:"bits_per_second"`
JitterMs float32 `json:"jitter_ms"`
LostPackets int `json:"lost_packets"`
Packets int `json:"packets"`
@ -133,7 +133,7 @@ type TcpStreamEndReport struct {
End float32 `json:"end"`
Seconds float32 `json:"seconds"`
Bytes int `json:"bytes"`
BitsPerSecond float64 `json:"bits_per_second"`
BitsPerSecond float32 `json:"bits_per_second"`
}
func (tser *TcpStreamEndReport) String() string {
@ -156,7 +156,7 @@ type StreamEndSumReport struct {
End float32 `json:"end"`
Seconds float32 `json:"seconds"`
Bytes int `json:"bytes"`
BitsPerSecond float64 `json:"bits_per_second"`
BitsPerSecond float32 `json:"bits_per_second"`
}
func (sesr *StreamEndSumReport) String() string {

@ -111,7 +111,7 @@ func (r *Reporter) runLogProcessor() {
EndInterval: float32(end),
Seconds: float32(end - start),
Bytes: int(transferedBytes),
BitsPerSecond: float64(rate),
BitsPerSecond: float32(rate),
Retransmissions: retrans,
CongestionWindow: int(cwnd),
Omitted: omitted,

Loading…
Cancel
Save