Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for computeCPUCurrent (0.28 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	testScaleClient   *scalefake.FakeScaleClient
    
    	recommendations []timestampedRecommendation
    	hpaSelectors    *selectors.BiMultimap
    }
    
    // Needs to be called under a lock.
    func (tc *testCase) computeCPUCurrent() {
    	if len(tc.reportedLevels) != len(tc.reportedCPURequests) || len(tc.reportedLevels) == 0 {
    		return
    	}
    	reported := 0
    	for _, r := range tc.reportedLevels {
    		reported += int(r)
    	}
    	requested := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
Back to top