Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewEDF (0.06 sec)

  1. pkg/test/loadbalancersim/loadbalancer/edf.go

    	e.currentDeadline = entry.deadline
    
    	// Re-add it with the updated weight.
    	e.Add(calcWeight(entry.weight, entry.value), entry.value)
    	return entry.value
    }
    
    // NewEDF create a new edf scheduler
    func NewEDF() *EDF {
    	pq := make(priorityQueue, 0)
    	return &EDF{
    		pq:           &pq,
    		currentIndex: 0,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top