mirror of
https://github.com/golang/go
synced 2024-11-23 10:30:03 -07:00
runtime: fix LastGC comment
I have no idea what "absolute time" means. LGTM=dvyukov, r R=r, dvyukov CC=golang-codereviews https://golang.org/cl/144320043
This commit is contained in:
parent
7283e08cbf
commit
6f219e8b84
@ -41,8 +41,8 @@ type MemStats struct {
|
||||
OtherSys uint64 // other system allocations
|
||||
|
||||
// Garbage collector statistics.
|
||||
NextGC uint64 // next run in HeapAlloc time (bytes)
|
||||
LastGC uint64 // last run in absolute time (ns)
|
||||
NextGC uint64 // next collection will happen when HeapAlloc ≥ this amount
|
||||
LastGC uint64 // end time of last collection (nanoseconds since 1970)
|
||||
PauseTotalNs uint64
|
||||
PauseNs [256]uint64 // circular buffer of recent GC pause times, most recent at [(NumGC+255)%256]
|
||||
NumGC uint32
|
||||
|
Loading…
Reference in New Issue
Block a user