- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 918 for nextGC (0.38 sec)
-
src/internal/trace/traceviewer/format/format.go
} type BlockedArg struct { Blocked string `json:"blocked"` } type SortIndexArg struct { Index int `json:"sort_index"` } type HeapCountersArg struct { Allocated uint64 NextGC uint64 } const ( ProcsSection = 0 // where Goroutines or per-P timelines are presented. StatsSection = 1 // where counters are presented. TasksSection = 2 // where Task hierarchy & timeline is presented. )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/trace/traceviewer/emitter.go
const PB = 1 << 50 if v > PB { v = 0 } e.heapStats.nextGC = v e.emitHeapCounters(ts) } func (e *Emitter) emitHeapCounters(ts time.Duration) { if e.prevHeapStats == e.heapStats { return } diff := uint64(0) if e.heapStats.nextGC > e.heapStats.heapAlloc { diff = e.heapStats.nextGC - e.heapStats.heapAlloc } if e.tsWithinRange(ts) { e.OptionalEvent(&format.Event{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:58 UTC 2023 - 20.4K bytes - Viewed (0) -
src/runtime/mstats.go
OtherSys uint64 // Garbage collector statistics. // NextGC is the target heap size of the next GC cycle. // // The garbage collector's goal is to keep HeapAlloc ≤ NextGC. // At the end of each GC cycle, the target for the next cycle // is computed based on the amount of reachable data and the // value of GOGC. NextGC uint64 // LastGC is the time the last garbage collection finished, as
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/cmd/trace/jsontrace_test.go
hms := heapMetrics(data) var nonZeroAllocated, nonZeroNextGC bool for _, hm := range hms { if hm.Allocated > 0 { nonZeroAllocated = true } if hm.NextGC > 0 { nonZeroNextGC = true } } if !nonZeroAllocated { t.Errorf("nonZeroAllocated=%v, want true", nonZeroAllocated) } if !nonZeroNextGC {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0) -
src/runtime/malloc_test.go
} return } disallowed := [][2]uintptr{} // Drop all but the next 3 hints. 64-bit has a lot of hints, // so it would take a lot of memory to go through all of them. KeepNArenaHints(3) // Consume these 3 hints and force the runtime to find some // fallback hints. for i := 0; i < 5; i++ { // Reserve memory at the next hint so it can't be used // for the heap. start, end, ok := MapNextArenaHint()
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, "# BuckHashSys = %d\n", s.BuckHashSys) fmt.Fprintf(w, "# GCSys = %d\n", s.GCSys) fmt.Fprintf(w, "# OtherSys = %d\n", s.OtherSys) fmt.Fprintf(w, "# NextGC = %d\n", s.NextGC) fmt.Fprintf(w, "# LastGC = %d\n", s.LastGC) fmt.Fprintf(w, "# PauseNs = %d\n", s.PauseNs) fmt.Fprintf(w, "# PauseEnd = %d\n", s.PauseEnd) fmt.Fprintf(w, "# NumGC = %d\n", s.NumGC)
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.StackSys) dumpint(m.MSpanInuse) dumpint(m.MSpanSys) dumpint(m.MCacheInuse) dumpint(m.MCacheSys) dumpint(m.BuckHashSys) dumpint(m.GCSys) dumpint(m.OtherSys) dumpint(m.NextGC) dumpint(m.LastGC) dumpint(m.PauseTotalNs) for i := 0; i < 256; i++ { dumpint(m.PauseNs[i]) } dumpint(uint64(m.NumGC)) }
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/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)) case "/gc/cycles/automatic:gc-cycles":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
src/syscall/exec_libc2.go
} pipe = nextfd nextfd++ } for i = 0; i < len(fd); i++ { if fd[i] >= 0 && fd[i] < i { if nextfd == pipe { // don't stomp on pipe nextfd++ } if runtime.GOOS == "openbsd" { _, _, err1 = rawSyscall(dupTrampoline, uintptr(fd[i]), uintptr(nextfd), O_CLOEXEC) } else { _, _, err1 = rawSyscall(dupTrampoline, uintptr(fd[i]), uintptr(nextfd), 0) if err1 != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
src/syscall/exec_libc.go
pipe = nextfd nextfd++ } for i = 0; i < len(fd); i++ { if fd[i] >= 0 && fd[i] < i { if nextfd == pipe { // don't stomp on pipe nextfd++ } switch runtime.GOOS { case "illumos", "solaris": _, err1 = fcntl1(uintptr(fd[i]), _F_DUP2FD_CLOEXEC, uintptr(nextfd)) default: _, err1 = dup2child(uintptr(fd[i]), uintptr(nextfd)) if err1 != 0 { goto childerror }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0)