]> Cypherpunks repositories - gostls13.git/commit
runtime: diagram flow of stats through heap profile
authorAustin Clements <austin@google.com>
Mon, 27 Feb 2017 16:36:37 +0000 (11:36 -0500)
committerAustin Clements <austin@google.com>
Fri, 31 Mar 2017 00:46:18 +0000 (00:46 +0000)
commit673a8fdfe60929f61657dbfbdf5534eabe8cd6f5
treef200f0738ca961caad42b2193431426e05f23ca5
parentef1829d1debc0bcd32052d9686adb75704e75984
runtime: diagram flow of stats through heap profile

Every time I modify heap profiling, I find myself redrawing this
diagram, so add it to the comments. This shows how allocations and
frees are accounted, how we arrive at consistent profile snapshots,
and when those snapshots are published to the user.

Change-Id: I106aba1200af3c773b46e24e5f50205e808e2c69
Reviewed-on: https://go-review.googlesource.com/37514
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mprof.go