From a4ab960375eea401a0f9cacbc033f39581b497c3 Mon Sep 17 00:00:00 2001 From: Vladimir Barsukov Date: Sun, 19 Nov 2023 09:22:22 +0200 Subject: [PATCH] fix --- zdebug/zdebug.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/zdebug/zdebug.go b/zdebug/zdebug.go index 50cf713..b3fc3e1 100644 --- a/zdebug/zdebug.go +++ b/zdebug/zdebug.go @@ -8,20 +8,6 @@ import ( "time" ) -type Monitor struct { - Alloc uint64 `json:",omitempty"` - HeapInuse uint64 `json:",omitempty"` - MaxAlloc uint64 `json:",omitempty"` - MaxSys uint64 `json:",omitempty"` - - LiveObjects uint64 `json:",omitempty"` - - NumGC uint32 `json:",omitempty"` - NumGoroutine int `json:",omitempty"` -} - -const mb = 1024 * 1024 - func NewMonitor(secs int) { go func() { var rtm runtime.MemStats -- GitLab