Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for listInterfaceStats (0.22 sec)

  1. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    		cpuUsageCoreNanoSeconds:   uint64(ProcessorCount()) * 1e7,
    		cpuUsageNanoCores:         0,
    		memoryPrivWorkingSetBytes: 2,
    		memoryCommittedBytes:      3,
    		interfaceStats:            networkAdapterCounter.listInterfaceStats(),
    		timeStamp:                 time.Now(),
    	}
    	assert.Equal(t, expectedMetrics, metrics)
    }
    
    func TestConvertCPUValue(t *testing.T) {
    	testCases := []struct {
    		cpuValue uint64
    		expected 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)
Back to top