Commit 6f219e8b authored by Russ Cox's avatar Russ Cox

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
parent 7283e08c
...@@ -41,8 +41,8 @@ type MemStats struct { ...@@ -41,8 +41,8 @@ type MemStats struct {
OtherSys uint64 // other system allocations OtherSys uint64 // other system allocations
// Garbage collector statistics. // Garbage collector statistics.
NextGC uint64 // next run in HeapAlloc time (bytes) NextGC uint64 // next collection will happen when HeapAlloc ≥ this amount
LastGC uint64 // last run in absolute time (ns) LastGC uint64 // end time of last collection (nanoseconds since 1970)
PauseTotalNs uint64 PauseTotalNs uint64
PauseNs [256]uint64 // circular buffer of recent GC pause times, most recent at [(NumGC+255)%256] PauseNs [256]uint64 // circular buffer of recent GC pause times, most recent at [(NumGC+255)%256]
NumGC uint32 NumGC uint32
......
Markdown is supported
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