Commit c76eb20c authored by Vladimir Barsukov's avatar Vladimir Barsukov
Browse files

fix

parent 4ea14785
...@@ -11,7 +11,6 @@ import ( ...@@ -11,7 +11,6 @@ import (
type Monitor struct { type Monitor struct {
Alloc, Alloc,
TotalAlloc,
Sys, Sys,
LiveObjects uint64 LiveObjects uint64
...@@ -32,7 +31,6 @@ func NewMonitor(secs int) { ...@@ -32,7 +31,6 @@ func NewMonitor(secs int) {
m.NumGoroutine = runtime.NumGoroutine() m.NumGoroutine = runtime.NumGoroutine()
m.Alloc = rtm.Alloc / 1e6 m.Alloc = rtm.Alloc / 1e6
m.TotalAlloc = rtm.TotalAlloc / 1e6
m.Sys = rtm.Sys / 1e6 m.Sys = rtm.Sys / 1e6
m.LiveObjects = rtm.Mallocs - rtm.Frees m.LiveObjects = rtm.Mallocs - rtm.Frees
m.NumGC = rtm.NumGC m.NumGC = rtm.NumGC
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment