- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for HeapGoal (0.18 sec)
-
src/runtime/traceruntime.go
} // HeapGoal reads the current heap goal and emits a HeapGoal event. func (tl traceLocker) HeapGoal() { heapGoal := gcController.heapGoal() if heapGoal == ^uint64(0) { // Heap-based triggering is disabled. heapGoal = 0 } tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvHeapGoal, traceArg(heapGoal)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/internal/trace/parser.go
EvHeapAlloc = 33 // gcController.heapLive change [timestamp, heap live bytes] EvHeapGoal = 34 // gcController.heapGoal change [timestamp, heap goal bytes] EvTimerGoroutine = 35 // denotes timer goroutine [timer goroutine id] EvFutileWakeup = 36 // denotes that the previous wakeup of this goroutine was futile [timestamp]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:31:04 UTC 2024 - 4.7K bytes - Viewed (0) -
src/internal/trace/event/go122/event.go
EvGCMarkAssistEnd // GC mark assist done [timestamp] EvHeapAlloc // gcController.heapLive change [timestamp, heap alloc in bytes] EvHeapGoal // gcController.heapGoal() change [timestamp, heap goal in bytes] // Annotations. EvGoLabel // apply string label to current running goroutine [timestamp, label string ID]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.8K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
// For the former, the goal is defined as: // (retainExtraPercent+100) / 100 * (heapGoal / lastHeapGoal) * lastHeapInUse // // Essentially, we wish to have the application's RSS track the heap goal, but // the heap goal is defined in terms of bytes of objects, rather than pages like // RSS. As a result, we need to take into account for fragmentation internal to // spans. heapGoal / lastHeapGoal defines the ratio between the current heap goal
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/runtime/traceevent.go
traceEvGCMarkAssistEnd // GC mark assist done [timestamp] traceEvHeapAlloc // gcController.heapLive change [timestamp, heap alloc in bytes] traceEvHeapGoal // gcController.heapGoal() change [timestamp, heap goal in bytes] // Annotations. traceEvGoLabel // apply string label to current running goroutine [timestamp, label string ID]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0) -
src/cmd/trace/gen.go
m := ev.Metric() switch m.Name { case "/memory/classes/heap/objects:bytes": ctx.HeapAlloc(ctx.elapsed(ev.Time()), m.Value.Uint64()) case "/gc/heap/goal:bytes": ctx.HeapGoal(ctx.elapsed(ev.Time()), m.Value.Uint64()) case "/sched/gomaxprocs:threads": ctx.Gomaxprocs(m.Value.Uint64()) } } // procRangeGenerator implements a generic handler for EventRange* events whose Scope.Kind is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.5K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations.test
EventBatch gen=1 m=167926 time=28113086275999 size=324 ProcStatus dt=295 p=0 pstatus=1 GoStatus dt=5 g=1 m=167926 gstatus=2 ProcsChange dt=405 procs_value=48 stack=1 STWBegin dt=65 kind_string=21 stack=2 HeapGoal dt=2 heapgoal_value=4194304 ProcStatus dt=4 p=1 pstatus=2 ProcStatus dt=1 p=2 pstatus=2 ProcStatus dt=1 p=3 pstatus=2 ProcStatus dt=1 p=4 pstatus=2 ProcStatus dt=1 p=5 pstatus=2 ProcStatus dt=1 p=6 pstatus=2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/export_test.go
c.startCycle(0, gomaxprocs, gcTrigger{kind: gcTriggerHeap}) } func (c *GCController) AssistWorkPerByte() float64 { return c.assistWorkPerByte.Load() } func (c *GCController) HeapGoal() uint64 { return c.heapGoal() } func (c *GCController) HeapLive() uint64 { return c.heapLive.Load() } func (c *GCController) HeapMarked() uint64 { return c.heapMarked }
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/internal/trace/internal/oldtrace/parser.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
src/runtime/mgc.go
// the amount already in use. The proportion is controlled by GOGC environment variable // (100 by default). If GOGC=100 and we're using 4M, we'll GC again when we get to 8M // (this mark is computed by the gcController.heapGoal method). This keeps the GC cost in // linear proportion to the allocation cost. Adjusting GOGC just changes the linear constant // (and also the amount of extra memory used). // Oblets //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0)