- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for smallFreeCount (0.17 sec)
-
src/runtime/align_runtime_test.go
unsafe.Offsetof(profBuf{}.overflow), unsafe.Offsetof(profBuf{}.overflowTime), unsafe.Offsetof(heapStatsDelta{}.tinyAllocCount), unsafe.Offsetof(heapStatsDelta{}.smallAllocCount), unsafe.Offsetof(heapStatsDelta{}.smallFreeCount), unsafe.Offsetof(heapStatsDelta{}.largeAlloc), unsafe.Offsetof(heapStatsDelta{}.largeAllocCount), unsafe.Offsetof(heapStatsDelta{}.largeFree), unsafe.Offsetof(heapStatsDelta{}.largeFreeCount),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/mstats.go
for i := range b.smallAllocCount { a.smallAllocCount[i] += b.smallAllocCount[i] } a.largeFree += b.largeFree a.largeFreeCount += b.largeFreeCount for i := range b.smallFreeCount { a.smallFreeCount[i] += b.smallFreeCount[i] } } // consistentHeapStats represents a set of various memory statistics // whose updates must be viewed completely to get a consistent // state of the world. //
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/export_test.go
// Collect per-sizeclass free stats. var smallFree uint64 for i := 0; i < _NumSizeClasses; i++ { slow.Frees += m.smallFreeCount[i] bySize[i].Frees += m.smallFreeCount[i] bySize[i].Mallocs += m.smallFreeCount[i] smallFree += m.smallFreeCount[i] * uint64(class_to_size[i]) } slow.Frees += m.tinyAllocCount + m.largeFreeCount slow.Mallocs += slow.Frees
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/metrics.go
// Cut off the first index which is ostensibly for size class 0, // but large objects are tracked separately so it's actually unused. for i, count := range in.heapStats.smallFreeCount[1:] { hist.counts[i] = count } }, }, "/gc/heap/frees:bytes": { deps: makeStatDepSet(heapStatsDep), compute: func(in *statAggregate, out *metricValue) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 26K bytes - Viewed (0) -
src/runtime/mgcsweep.go
// wasn't totally filled, but then swept, still has all of its // free slots zeroed. s.needzero = 1 stats := memstats.heapStats.acquire() atomic.Xadd64(&stats.smallFreeCount[spc.sizeclass()], int64(nfreed)) memstats.heapStats.release() // Count the frees in the inconsistent, internal stats. gcController.totalFree.Add(int64(nfreed) * int64(s.elemsize)) } if !preserve {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0)