Fold the leftover formatters into the SI ones and stop reallocating the draw scratch

This commit is contained in:
flamingcow
2026-08-04 13:37:19 -07:00
parent f5a6420cfa
commit 2035d42734
7 changed files with 42 additions and 60 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ func TestResetDoesNotUnderflowTotals(t *testing.T) {
if v.rxFrames != 0 {
t.Errorf("rxFrames = %d, want 0", v.rxFrames)
}
if v.rxGot != 0 {
t.Errorf("rxGot = %d, want 0", v.rxGot)
if v.rxBytes != 0 {
t.Errorf("rxBytes = %d, want 0", v.rxBytes)
}
// The rolling window and the rates are about now rather than since the