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

fix

parent 41f388bf
...@@ -8,20 +8,6 @@ import ( ...@@ -8,20 +8,6 @@ import (
"time" "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) { func NewMonitor(secs int) {
go func() { go func() {
var rtm runtime.MemStats var rtm runtime.MemStats
......
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