- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Scavenge (0.2 sec)
-
src/runtime/mgcscavenge_test.go
// the ranges of described in alloc and scavenge. func makePallocData(alloc, scavenged []BitRange) *PallocData { b := new(PallocData) for _, v := range alloc { if v.N == 0 { // Skip N==0. It's harmless and allocRange doesn't // handle this case. continue } b.AllocRange(v.I, v.N) } for _, v := range scavenged { if v.N == 0 { // See the previous loop. continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0) -
src/runtime/export_test.go
panic("must populate all stubs") } // Install hooks. s.scavenger.sleepStub = s.Sleep s.scavenger.scavenge = s.Scavenge s.scavenger.shouldStop = s.ShouldStop s.scavenger.gomaxprocs = s.GoMaxProcs // Start up scavenger goroutine, and wait for it to be ready. stop := make(chan struct{}) s.stop = stop done := make(chan struct{}) s.done = done go func() {
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/description.go
}, { Name: "/cpu/classes/scavenge/total:cpu-seconds", Description: "Estimated total CPU time spent performing tasks that return " + "unused memory to the underlying platform. " + "This metric is an overestimate, and not directly comparable to " + "system CPU time measurements. Compare only with other /cpu/classes " + "metrics. Sum of all metrics in /cpu/classes/scavenge.", Kind: KindFloat64,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 17:59:12 UTC 2023 - 19.6K bytes - Viewed (0) -
src/runtime/metrics/doc.go
/cpu/classes/scavenge/assist:cpu-seconds Estimated total CPU time spent returning unused memory to the underlying platform in response eagerly in response to memory pressure. This metric is an overestimate, and not directly comparable to system CPU time measurements. Compare only with other /cpu/classes metrics. /cpu/classes/scavenge/background:cpu-seconds
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:43 UTC 2024 - 20K bytes - Viewed (0) -
src/runtime/metrics_test.go
case "/cpu/classes/idle:cpu-seconds": cpu.idle = samples[i].Value.Float64() case "/cpu/classes/scavenge/assist:cpu-seconds": cpu.scavengeAssist = samples[i].Value.Float64() case "/cpu/classes/scavenge/background:cpu-seconds": cpu.scavengeBg = samples[i].Value.Float64() case "/cpu/classes/scavenge/total:cpu-seconds": cpu.scavengeTotal = samples[i].Value.Float64() case "/cpu/classes/total:cpu-seconds":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/mpagealloc.go
inUse addrRanges // scav stores the scavenger state. scav struct { // index is an efficient index of chunks that have pages available to // scavenge. index scavengeIndex // releasedBg is the amount of memory released in the background this // scavenge cycle. releasedBg atomic.Uintptr // releasedEager is the amount of memory released eagerly this scavenge // cycle. releasedEager atomic.Uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 39.2K bytes - Viewed (0) -
src/runtime/lockrank.go
const lockRankLeafRank lockRank = 1000 // lockNames gives the names associated with each of the above ranks. var lockNames = []string{ lockRankSysmon: "sysmon", lockRankScavenge: "scavenge", lockRankForcegc: "forcegc", lockRankDefer: "defer", lockRankSweepWaiters: "sweepWaiters", lockRankAssistQueue: "assistQueue", lockRankSweep: "sweep",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 19.9K bytes - Viewed (0) -
src/runtime/metrics.go
}, }, "/cpu/classes/scavenge/assist:cpu-seconds": { deps: makeStatDepSet(cpuStatsDep), compute: func(in *statAggregate, out *metricValue) { out.kind = metricKindFloat64 out.scalar = float64bits(nsToSec(in.cpuStats.ScavengeAssistTime)) }, }, "/cpu/classes/scavenge/background:cpu-seconds": { deps: makeStatDepSet(cpuStatsDep),
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/mstats.go
scavAssistCpu := scavenge.assistTime.Load() scavBgCpu := scavenge.backgroundTime.Load() // Update cumulative GC CPU stats. s.GCAssistTime += markAssistCpu s.GCDedicatedTime += markDedicatedCpu + markFractionalCpu s.GCIdleTime += markIdleCpu s.GCTotalTime += markAssistCpu + markDedicatedCpu + markFractionalCpu + markIdleCpu // Update cumulative scavenge CPU stats.
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/mgcsweep.go
// close to done sweeping. // Move the scavenge gen forward (signaling // that there's new work to do) and wake the scavenger. // // The scavenger is signaled by the last sweeper because once // sweeping is done, we will definitely have useful work for // the scavenger to do, since the scavenger only runs over the // heap once per GC cycle. This update is not done during sweep
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0)