forked from davecheney/gcvis
/
tracedata.go
48 lines (45 loc) · 954 Bytes
/
tracedata.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package main
type scvgtrace struct {
ElapsedTime float64 // in seconds
inuse int64
idle int64
sys int64
released int64
consumed int64
}
type gctrace struct {
ElapsedTime float64 // in seconds
NumGC int64
Nproc int64
t1 int64
t2 int64
t3 int64
t4 int64
Heap0 int64 // heap size before, in megabytes
Heap1 int64 // heap size after, in megabytes
Obj int64
NMalloc int64
NFree int64
NSpan int64
NGoRoutines int64
NBGSweep int64
NPauseSweep int64
NHandoff int64
NHandoffCnt int64
NSteal int64
NStealCnt int64
NProcYield int64
NOsYield int64
NSleep int64
STWSclock float64
MASclock float64
STWMclock float64
STWScpu float64
MASAssistcpu float64
MASBGcpu float64
MASIdlecpu float64
STWMcpu float64
}
type goroutine struct {
count int64
}