- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 100 for memstats (0.14 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"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}, {"MemStats.MCacheSys", Field, 0}, {"MemStats.MSpanInuse", Field, 0}, {"MemStats.MSpanSys", Field, 0}, {"MemStats.Mallocs", Field, 0}, {"MemStats.NextGC", 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) -
src/runtime/os_freebsd.go
throw("newosproc") } } // Version of newosproc that doesn't require a valid G. // //go:nosplit func newosproc0(stacksize uintptr, fn unsafe.Pointer) { stack := sysAlloc(stacksize, &memstats.stacks_sys) if stack == nil { writeErrStr(failallocatestack) exit(1) } // This code "knows" it's being called once from the library // initialization code, and so it's using the static m0 for the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
if err != nil { log.Fatalf("%v", err) } AtExit(func() { // Profile all outstanding allocations. runtime.GC() // compilebench parses the memory profile to extract memstats, // which are only written in the legacy pprof format. // See golang.org/issue/18641 and runtime/pprof/pprof.go:writeHeap. const writeLegacyFormat = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
nbytes := int64(npages * pageSize) gcController.heapReleased.add(nbytes) gcController.heapFree.add(-nbytes) stats := memstats.heapStats.acquire() atomic.Xaddint64(&stats.committed, -nbytes) atomic.Xaddint64(&stats.released, nbytes) memstats.heapStats.release() } // Relock the heap, because now we need to make these pages
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0) -
src/net/textproto/reader_test.go
func TestReadMIMEHeaderAllocations(t *testing.T) { var totalAlloc uint64 const count = 200 for i := 0; i < count; i++ { r := reader("A: b\r\n\r\n" + strings.Repeat("\n", 4096)) var m1, m2 runtime.MemStats runtime.ReadMemStats(&m1) _, err := r.ReadMIMEHeader() if err != nil { t.Fatalf("ReadMIMEHeader: %v", err) } runtime.ReadMemStats(&m2) totalAlloc += m2.TotalAlloc - m1.TotalAlloc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 05 18:31:56 UTC 2024 - 14.7K bytes - Viewed (0) -
src/runtime/stack.go
} if stackDebug >= 1 { print("stackalloc ", n, "\n") } if debug.efence != 0 || stackFromSystem != 0 { n = uint32(alignUp(uintptr(n), physPageSize)) v := sysAlloc(uintptr(n), &memstats.stacks_sys) if v == nil { throw("out of memory (stackalloc)") } return stack{uintptr(v), uintptr(v) + uintptr(n)} } // Small stacks are allocated with a fixed-size free-list allocator.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
api/go1.8.txt
pkg plugin, type Symbol interface {} pkg reflect, func Swapper(interface{}) func(int, int) pkg runtime, func MutexProfile([]BlockProfileRecord) (int, bool) pkg runtime, func SetMutexProfileFraction(int) int pkg runtime, type MemStats struct, NumForcedGC uint32 pkg sort, func Slice(interface{}, func(int, int) bool) pkg sort, func SliceIsSorted(interface{}, func(int, int) bool) bool pkg sort, func SliceStable(interface{}, func(int, int) bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 21 05:25:57 UTC 2016 - 16.3K bytes - Viewed (0) -
api/go1.4.txt
# CL 144020043 reflect: add Type.Comparable, Russ Cox <******@****.***> pkg reflect, type Type interface, Comparable() bool # CL 153670043 runtime: add PauseEnd array to MemStats and GCStats, Jens Frederich <******@****.***> pkg runtime, type MemStats struct, PauseEnd [256]uint64 pkg runtime/debug, type GCStats struct, PauseEnd []time.Time # CL 136710045 sync/atomic: add Value, Dmitriy Vyukov <******@****.***>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
src/runtime/mgcpacer.go
lastHeapGoal uint64 // heapLive is the number of bytes considered live by the GC. // That is: retained by the most recent GC plus allocated // since then. heapLive ≤ memstats.totalAlloc-memstats.totalFree, since // heapAlloc includes unmarked objects that have not yet been swept (and // hence goes up as we allocate and down as we sweep) while heapLive
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
src/time/tick_test.go
}) } func TestTimerGC(t *testing.T) { run := func(t *testing.T, what string, f func()) { t.Helper() t.Run(what, func(t *testing.T) { t.Helper() const N = 1e4 var stats runtime.MemStats runtime.GC() runtime.GC() runtime.GC() runtime.ReadMemStats(&stats) before := int64(stats.Mallocs - stats.Frees) for j := 0; j < N; j++ { f() } runtime.GC()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0)