Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EndCycle (0.32 sec)

  1. src/runtime/mgcpacer.go

    	// cycle, divided by the CPU time spent on each activity.
    	//
    	// Updated at the end of each GC cycle, in endCycle.
    	consMark float64
    
    	// lastConsMark is the computed cons/mark value for the previous 4 GC
    	// cycles. Note that this is *not* the last value of consMark, but the
    	// measured cons/mark value in endCycle.
    	lastConsMark [4]float64
    
    	// gcPercentHeapGoal is the goal heapLive for when next GC ends derived
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    	c.stackScanWork.Add(d.StackScanWork)
    	c.globalsScanWork.Add(d.GlobalsScanWork)
    	c.revise()
    }
    
    func (c *GCController) EndCycle(bytesMarked uint64, assistTime, elapsed int64, gomaxprocs int) {
    	c.assistTime.Store(assistTime)
    	c.endCycle(elapsed, gomaxprocs, false)
    	c.resetLive(bytesMarked)
    	c.commit(false)
    }
    
    func (c *GCController) AddIdleMarkWorker() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. src/runtime/mgc.go

    	// In STW mode, re-enable user goroutines. These will be
    	// queued to run after we start the world.
    	schedEnableUser(true)
    
    	// endCycle depends on all gcWork cache stats being flushed.
    	// The termination algorithm above ensured that up to
    	// allocations since the ragged barrier.
    	gcController.endCycle(now, int(gomaxprocs), work.userForced)
    
    	// Perform mark termination. This will restart the world.
    	gcMarkTermination(stw)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. src/runtime/mgcpacer_test.go

    				}
    				t.Log("GC", result.String())
    				results = append(results, result)
    
    				// Run the checker for this test.
    				e.check(t, results)
    
    				c.EndCycle(uint64(nextHeapMarked+bytesAllocatedBlack), assistTime, gcDuration, e.nCores)
    
    				bytesAllocatedBlackLast = bytesAllocatedBlack
    			}
    		})
    	}
    }
    
    type gcExecTest struct {
    	name string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top