Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hwassist (2.49 sec)

  1. src/runtime/malloc.go

    		x = add(x, size-dataSize)
    	}
    
    	return x
    }
    
    // deductAssistCredit reduces the current G's assist credit
    // by size bytes, and assists the GC if necessary.
    //
    // Caller must be preemptible.
    //
    // Returns the G for which the assist credit was accounted.
    func deductAssistCredit(size uintptr) *g {
    	var assistG *g
    	if gcBlackenEnabled != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    	// to do this before calling sysUsed because that may commit address space.
    	bytesToScavenge := uintptr(0)
    	forceScavenge := false
    	if limit := gcController.memoryLimit.Load(); !gcCPULimiter.limiting() {
    		// Assist with scavenging to maintain the memory limit by the amount
    		// that we expect to page in.
    		inuse := gcController.mappedReady.Load()
    		// Be careful about overflow, especially with uintptrs. Even on 32-bit platforms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. src/runtime/mgc.go

    	// Omit idle marking time from the overall utilization here since it's "free".
    	memstats.gc_cpu_fraction = float64(work.cpuStats.GCTotalTime-work.cpuStats.GCIdleTime) / float64(work.cpuStats.TotalTime)
    
    	// Reset assist time and background time stats.
    	//
    	// Do this now, instead of at the start of the next GC cycle, because
    	// these two may keep accumulating even if the GC is not active.
    	scavenge.assistTime.Store(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top