From c76eb20c7798b746816d62051a00b871fc76f489 Mon Sep 17 00:00:00 2001 From: Vladimir Barsukov Date: Sun, 19 Nov 2023 08:02:21 +0200 Subject: [PATCH] fix --- zdebug/zdebug.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/zdebug/zdebug.go b/zdebug/zdebug.go index 0d072de..3e79f67 100644 --- a/zdebug/zdebug.go +++ b/zdebug/zdebug.go @@ -11,7 +11,6 @@ import ( type Monitor struct { Alloc, - TotalAlloc, Sys, LiveObjects uint64 @@ -32,7 +31,6 @@ func NewMonitor(secs int) { m.NumGoroutine = runtime.NumGoroutine() m.Alloc = rtm.Alloc / 1e6 - m.TotalAlloc = rtm.TotalAlloc / 1e6 m.Sys = rtm.Sys / 1e6 m.LiveObjects = rtm.Mallocs - rtm.Frees m.NumGC = rtm.NumGC -- GitLab