Home | History | Annotate | Download | only in runtime

Lines Matching refs:by_size

86 	by_size [_NumSizeClasses]struct {
431 // Size of the trailing by_size array differs between mstats and MemStats,
432 // and all data after by_size is local to runtime, not exported.
436 var sizeof_C_MStats = unsafe.Offsetof(memstats.by_size) + 61*unsafe.Sizeof(memstats.by_size[0])
470 // The size of the trailing by_size array differs between
541 for i := 0; i < len(memstats.by_size); i++ {
542 memstats.by_size[i].nmalloc = 0
543 memstats.by_size[i].nfree = 0
562 memstats.by_size[i].nmalloc += c.nmalloc
577 memstats.by_size[i].nfree = mheap_.nsmallfree[i]