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
c76eb20c
Commit
c76eb20c
authored
Nov 19, 2023
by
Vladimir Barsukov
Browse files
fix
parent
4ea14785
Changes
1
Show whitespace changes
Inline
Side-by-side
zdebug/zdebug.go
View file @
c76eb20c
...
@@ -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
...
...
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