diff --git a/zdebug/zdebug.go b/zdebug/zdebug.go index 50cf713a185fbefb4f391757a9f87d0d456a626b..b3fc3e1bc07ace9d22a24dc3ba36447b212d491c 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