Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for Scales (0.07 sec)

  1. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    		p := perfCounterNodeStatsClient{}
    		newValue := p.convertCPUValue(cpuCores, tc.cpuValue)
    		assert.Equal(t, tc.expected, newValue)
    	}
    }
    
    func TestGetCPUUsageNanoCores(t *testing.T) {
    	// Scaled expected unit test values by the frequency the CPU perf counters are polled.
    	perfCounterUpdatePeriodSeconds := uint64(perfCounterUpdatePeriod / time.Second)
    	testCases := []struct {
    		latestValue   uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/runtime/mksizeclasses.go

    	// can compute n / d as ⌊n * c / 2^F⌋, where c is ⌈2^F / d⌉ and F is
    	// computed with:
    	//
    	// 	Algorithm 2: Algorithm to select the number of fractional bits
    	// 	and the scaled approximate reciprocal in the case of unsigned
    	// 	integers.
    	//
    	// 	if d is a power of two then
    	// 		Let F ← log₂(d) and c = 1.
    	// 	else
    	// 		Let F ← N + L where L is the smallest integer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top