Re: [go-nuts] TotalAlloc dropped in runtime/metrics

2021-04-21 Thread Marco A.
ot have the same stop-the-world penalty that ReadMemStats has, so I >> recommend it on that basis. >> >> On Tue, Apr 20, 2021 at 3:08 PM Ian Lance Taylor >> wrote: >> >>> [ + mknyszek ] >>> >>> On Tue, Apr 20, 2021 at 11:12 AM Marco A.

[go-nuts] TotalAlloc dropped in runtime/metrics

2021-04-20 Thread Marco A.
Hi everyone, I was considering using the new stable metrics interface with go 1.16 (https://golang.org/pkg/runtime/metrics/) for our program and I was also wondering why things like TotalAlloc (https://golang.org/pkg/runtime/#MemStats) had been dropped in the available metrics. Any particular