summaryrefslogtreecommitdiff
path: root/extendedstats/unix.go
AgeCommit message (Collapse)Author
2022-06-22[Cleanup] Make long lines shorter and fix static fmt warningsWill Hawkins
Besides running golines (for the first time in a while now that the tool supports generics), this commit removes punctuation and newlines from Errorf parameters -- something that gofmt does not like (I never knew!).
2022-06-17[Feature] Expose send/recv mss, and reorderings in extended statsWill Hawkins
@moeller1 requested additional stats on the *nix platforms. Subsequent patch will enable the same statistics on macOS.
2022-06-12[Bugfix] Dereference nil when type assertions failed in ↵Will Hawkins
IncorporateConnectionStats Errors as a result of failed type assertions in IncorporateConnectionStats were caught/logged but there was no function-termination control flow associated with these error conditions. As a result, control would continue and cause problems. This patch fixes that.
2022-06-10Disable extendedstats on darwinAlex Cohn
The Darwin golang.org/x/sys/unix package does not contain a TCPInfo struct, which causes the project not to compile on macOS systems.
2022-06-05[Feature] Add -extended-stats for *nix platformsWill Hawkins
On *nix platforms, there is now a `-extended-stats` option that will print out some extended statistics for the test. The statistics are based on information gleaned from the `TCP_INFO` of the underlying TCP connections. What is implemented so far is just a proof of concept of the extended stats that could be calculated. Depending on what users want, we can add additional extended statistics.