/prebuilts/go/darwin-x86/test/chan/ |
select2.go | 40 memstats := new(runtime.MemStats) 41 runtime.ReadMemStats(memstats) 42 alloc := memstats.Alloc 48 runtime.ReadMemStats(memstats) 51 if memstats.Alloc > alloc && memstats.Alloc-alloc > 1.1e5 { 52 println("BUG: too much memory for 100,000 selects:", memstats.Alloc-alloc)
|
/prebuilts/go/darwin-x86/test/ |
init1.go | 28 memstats := new(runtime.MemStats) 29 runtime.ReadMemStats(memstats) 30 sys, numGC := memstats.Sys, memstats.NumGC 39 runtime.ReadMemStats(memstats) 40 sys1, numGC1 := memstats.Sys, memstats.NumGC
|
gc2.go | 23 st := new(runtime.MemStats) 24 memstats := new(runtime.MemStats) 39 runtime.ReadMemStats(memstats) 40 obj := int64(memstats.HeapObjects - st.HeapObjects)
|
closure.go | 98 memstats := new(runtime.MemStats) 99 runtime.ReadMemStats(memstats) 100 n0 := memstats.Mallocs 108 runtime.ReadMemStats(memstats) 109 if n0 != memstats.Mallocs {
|
/prebuilts/go/linux-x86/test/chan/ |
select2.go | 40 memstats := new(runtime.MemStats) 41 runtime.ReadMemStats(memstats) 42 alloc := memstats.Alloc 48 runtime.ReadMemStats(memstats) 51 if memstats.Alloc > alloc && memstats.Alloc-alloc > 1.1e5 { 52 println("BUG: too much memory for 100,000 selects:", memstats.Alloc-alloc)
|
/prebuilts/go/linux-x86/test/ |
init1.go | 28 memstats := new(runtime.MemStats) 29 runtime.ReadMemStats(memstats) 30 sys, numGC := memstats.Sys, memstats.NumGC 39 runtime.ReadMemStats(memstats) 40 sys1, numGC1 := memstats.Sys, memstats.NumGC
|
gc2.go | 23 st := new(runtime.MemStats) 24 memstats := new(runtime.MemStats) 39 runtime.ReadMemStats(memstats) 40 obj := int64(memstats.HeapObjects - st.HeapObjects)
|
closure.go | 98 memstats := new(runtime.MemStats) 99 runtime.ReadMemStats(memstats) 100 n0 := memstats.Mallocs 108 runtime.ReadMemStats(memstats) 109 if n0 != memstats.Mallocs {
|
/prebuilts/go/darwin-x86/src/runtime/ |
mstats.go | 12 // If you edit this structure, also edit type MemStats below. 89 var memstats mstats 91 // A MemStats records statistics about the memory allocator. 92 type MemStats struct { 146 var sizeof_C_MStats = unsafe.Offsetof(memstats.by_size) + 61*unsafe.Sizeof(memstats.by_size[0]) 149 var memStats MemStats 150 if sizeof_C_MStats != unsafe.Sizeof(memStats) { 151 println(sizeof_C_MStats, unsafe.Sizeof(memStats)) [all...] |
heapdump.go | 541 dumpint(memstats.alloc) 542 dumpint(memstats.total_alloc) 543 dumpint(memstats.sys) 544 dumpint(memstats.nlookup) 545 dumpint(memstats.nmalloc) 546 dumpint(memstats.nfree) 547 dumpint(memstats.heap_alloc) 548 dumpint(memstats.heap_sys) 549 dumpint(memstats.heap_idle) 550 dumpint(memstats.heap_inuse [all...] |
asm.s | 19 GLOBL runtime·memstats(SB), NOPTR, $0
|
mgc.go | 187 memstats.next_gc = heapminimum 208 memstats.enablegc = true // now that runtime is initialized, GC is okay 297 // It uses a feedback control algorithm to adjust the memstats.next_gc 356 // heapGoal is the goal memstats.heap_live for when this cycle 415 if memstats.next_gc <= heapminimum { 416 memstats.heap_marked = uint64(float64(memstats.next_gc) / (1 + c.triggerRatio)) 417 memstats.heap_reachable = memstats.heap_marked 421 c.heapGoal = memstats.heap_reachable + memstats.heap_reachable*uint64(gcpercent)/10 [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
mstats.go | 12 // If you edit this structure, also edit type MemStats below. 89 var memstats mstats 91 // A MemStats records statistics about the memory allocator. 92 type MemStats struct { 146 var sizeof_C_MStats = unsafe.Offsetof(memstats.by_size) + 61*unsafe.Sizeof(memstats.by_size[0]) 149 var memStats MemStats 150 if sizeof_C_MStats != unsafe.Sizeof(memStats) { 151 println(sizeof_C_MStats, unsafe.Sizeof(memStats)) [all...] |
heapdump.go | 541 dumpint(memstats.alloc) 542 dumpint(memstats.total_alloc) 543 dumpint(memstats.sys) 544 dumpint(memstats.nlookup) 545 dumpint(memstats.nmalloc) 546 dumpint(memstats.nfree) 547 dumpint(memstats.heap_alloc) 548 dumpint(memstats.heap_sys) 549 dumpint(memstats.heap_idle) 550 dumpint(memstats.heap_inuse [all...] |
asm.s | 19 GLOBL runtime·memstats(SB), NOPTR, $0
|
mgc.go | 187 memstats.next_gc = heapminimum 208 memstats.enablegc = true // now that runtime is initialized, GC is okay 297 // It uses a feedback control algorithm to adjust the memstats.next_gc 356 // heapGoal is the goal memstats.heap_live for when this cycle 415 if memstats.next_gc <= heapminimum { 416 memstats.heap_marked = uint64(float64(memstats.next_gc) / (1 + c.triggerRatio)) 417 memstats.heap_reachable = memstats.heap_marked 421 c.heapGoal = memstats.heap_reachable + memstats.heap_reachable*uint64(gcpercent)/10 [all...] |
/prebuilts/go/darwin-x86/src/testing/ |
allocs.go | 27 var memstats runtime.MemStats 28 runtime.ReadMemStats(&memstats) 29 mallocs := 0 - memstats.Mallocs 37 runtime.ReadMemStats(&memstats) 38 mallocs += memstats.Mallocs
|
benchmark.go | 25 var memStats runtime.MemStats 47 // The initial states of memStats.Mallocs and memStats.TotalAlloc. 60 runtime.ReadMemStats(&memStats) 61 b.startAllocs = memStats.Mallocs 62 b.startBytes = memStats.TotalAlloc 74 runtime.ReadMemStats(&memStats) 75 b.netAllocs += memStats.Mallocs - b.startAllocs 76 b.netBytes += memStats.TotalAlloc - b.startByte [all...] |
/prebuilts/go/linux-x86/src/testing/ |
allocs.go | 27 var memstats runtime.MemStats 28 runtime.ReadMemStats(&memstats) 29 mallocs := 0 - memstats.Mallocs 37 runtime.ReadMemStats(&memstats) 38 mallocs += memstats.Mallocs
|
benchmark.go | 25 var memStats runtime.MemStats 47 // The initial states of memStats.Mallocs and memStats.TotalAlloc. 60 runtime.ReadMemStats(&memStats) 61 b.startAllocs = memStats.Mallocs 62 b.startBytes = memStats.TotalAlloc 74 runtime.ReadMemStats(&memStats) 75 b.netAllocs += memStats.Mallocs - b.startAllocs 76 b.netBytes += memStats.TotalAlloc - b.startByte [all...] |
/prebuilts/go/darwin-x86/test/bench/garbage/ |
tree2.go | 34 memstats runtime.MemStats 60 runtime.ReadMemStats(&memstats) 61 pause := memstats.PauseTotalNs 62 inuse := memstats.Alloc 63 free := memstats.TotalAlloc - inuse 76 runtime.ReadMemStats(&memstats) 77 lastPauseNs = memstats.PauseTotalNs 78 lastFree = memstats.TotalAlloc - memstats.Allo [all...] |
/prebuilts/go/linux-x86/test/bench/garbage/ |
tree2.go | 34 memstats runtime.MemStats 60 runtime.ReadMemStats(&memstats) 61 pause := memstats.PauseTotalNs 62 inuse := memstats.Alloc 63 free := memstats.TotalAlloc - inuse 76 runtime.ReadMemStats(&memstats) 77 lastPauseNs = memstats.PauseTotalNs 78 lastFree = memstats.TotalAlloc - memstats.Allo [all...] |
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
memcluster.h | 38 #define memstats __memstats macro 48 void memstats(FILE *);
|
/build/kati/cmd/kati/ |
main.go | 50 memstats string 79 flag.StringVar(&memstats, "kati_memstats", "", "Show memstats with given templates") 119 var ms runtime.MemStats 241 if memstats != "" { 243 Template: template.Must(template.New("memstats").Parse(memstats)),
|
/prebuilts/go/darwin-x86/src/expvar/ |
expvar.go | 15 // memstats runtime.Memstats 323 func memstats() interface{} { 324 stats := new(runtime.MemStats) 332 Publish("memstats", Func(memstats))
|