Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zGo
Commits
a4ab9603
Commit
a4ab9603
authored
Nov 19, 2023
by
Vladimir Barsukov
Browse files
fix
parent
41f388bf
Changes
1
Show whitespace changes
Inline
Side-by-side
zdebug/zdebug.go
View file @
a4ab9603
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment