- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for HeapObjects (0.55 sec)
-
src/runtime/testdata/testprogcgo/cgonoescape.go
preHeapObjects := stats.HeapObjects for i := 0; i < num; i++ { withNoEscape() } runtime.ReadMemStats(&stats) nowHeapObjects := stats.HeapObjects if nowHeapObjects-preHeapObjects >= num { fmt.Printf("too many heap objects allocated, pre: %v, now: %v\n", preHeapObjects, nowHeapObjects) } runtime.ReadMemStats(&stats) preHeapObjects = stats.HeapObjects for i := 0; i < num; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 16:43:23 UTC 2023 - 1.8K bytes - Viewed (0) -
test/gc2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 977 bytes - Viewed (0) -
src/runtime/mstats.go
// to the OS and has not yet been reacquired for the heap. HeapReleased uint64 // HeapObjects is the number of allocated heap objects. // // Like HeapAlloc, this increases as objects are allocated and // decreases as the heap is swept and unreachable objects are // freed. HeapObjects uint64 // Stack memory statistics. // // Stacks are not considered part of the heap, but the runtime
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0) -
src/runtime/malloc_test.go
"Lookups": {eq(uint64(0))}, "Mallocs": {nz, le(1e10)}, "Frees": {nz, le(1e10)}, "HeapAlloc": {nz, le(1e10)}, "HeapSys": {nz, le(1e10)}, "HeapIdle": {le(1e10)}, "HeapInuse": {nz, le(1e10)}, "HeapReleased": {le(1e10)}, "HeapObjects": {nz, le(1e10)}, "StackInuse": {nz, le(1e10)}, "StackSys": {nz, le(1e10)}, "MSpanInuse": {nz, le(1e10)}, "MSpanSys": {nz, le(1e10)}, "MCacheInuse": {nz, le(1e10)}, "MCacheSys": {nz, le(1e10)},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 10.6K bytes - Viewed (0) -
src/runtime/pprof/pprof.go
fmt.Fprintf(w, "# HeapIdle = %d\n", s.HeapIdle) fmt.Fprintf(w, "# HeapInuse = %d\n", s.HeapInuse) fmt.Fprintf(w, "# HeapReleased = %d\n", s.HeapReleased) fmt.Fprintf(w, "# HeapObjects = %d\n", s.HeapObjects) fmt.Fprintf(w, "# Stack = %d / %d\n", s.StackInuse, s.StackSys) fmt.Fprintf(w, "# MSpan = %d / %d\n", s.MSpanInuse, s.MSpanSys) fmt.Fprintf(w, "# MCache = %d / %d\n", s.MCacheInuse, s.MCacheSys)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
src/runtime/heapdump.go
dumpint(m.Sys) dumpint(m.Lookups) dumpint(m.Mallocs) dumpint(m.Frees) dumpint(m.HeapAlloc) dumpint(m.HeapSys) dumpint(m.HeapIdle) dumpint(m.HeapInuse) dumpint(m.HeapReleased) dumpint(m.HeapObjects) dumpint(m.StackInuse) dumpint(m.StackSys) dumpint(m.MSpanInuse) dumpint(m.MSpanSys) dumpint(m.MCacheInuse) dumpint(m.MCacheSys) dumpint(m.BuckHashSys) dumpint(m.GCSys) dumpint(m.OtherSys)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/metrics_test.go
} case "/gc/gomemlimit:bytes": checkUint64(t, name, samples[i].Value.Uint64(), uint64(limit)) case "/gc/heap/objects:objects": checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapObjects) case "/gc/heap/goal:bytes": checkUint64(t, name, samples[i].Value.Uint64(), mstats.NextGC) case "/gc/gogc:percent": checkUint64(t, name, samples[i].Value.Uint64(), uint64(gcPercent))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"MemStats.GCCPUFraction", Field, 5}, {"MemStats.GCSys", Field, 2}, {"MemStats.HeapAlloc", Field, 0}, {"MemStats.HeapIdle", Field, 0}, {"MemStats.HeapInuse", Field, 0}, {"MemStats.HeapObjects", Field, 0}, {"MemStats.HeapReleased", Field, 0}, {"MemStats.HeapSys", Field, 0}, {"MemStats.LastGC", Field, 0}, {"MemStats.Lookups", Field, 0}, {"MemStats.MCacheInuse", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)