runtime.MemStats.TotalAlloc (field)
8 uses
runtime (current package)
heapdump.go#L568: dumpint(m.TotalAlloc)
mstats.go#L186: TotalAlloc uint64
mstats.go#L486: stats.TotalAlloc = memstats.total_alloc
runtime/pprof
pprof.go#L619: fmt.Fprintf(w, "# TotalAlloc = %d\n", s.TotalAlloc)
github.com/prometheus/client_golang/prometheus
go_collector.go#L101: eval: func(ms *runtime.MemStats) float64 { return float64(ms.TotalAlloc) },
testing
benchmark.go#L125: b.startBytes = memStats.TotalAlloc
benchmark.go#L139: b.netBytes += memStats.TotalAlloc - b.startBytes
benchmark.go#L160: b.startBytes = memStats.TotalAlloc
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |