]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: report MaxRSS on windows
authorTobias Klauser <tklauser@distanz.ch>
Thu, 18 Aug 2022 17:15:20 +0000 (19:15 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 19 Aug 2022 20:04:21 +0000 (20:04 +0000)
commit2cc6983a2103d64cd33a0fb67dc7ea2adcac3ba8
tree13eb00bae41ce483886d3348d80d4e6caf835d13
parentdbc3b44f85e638c2247af02548d8b386996f4d37
runtime/pprof: report MaxRSS on windows

Use GetProcessMemoryInfo to report MaxRSS in memory profiles on windows.

Change-Id: I4ac5fe58961b1d5da8a5c1caa8a6e3d0a3281837
Reviewed-on: https://go-review.googlesource.com/c/go/+/424414
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/pprof/pprof_norusage.go
src/runtime/pprof/pprof_windows.go [new file with mode: 0644]