Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCPUDetailsSockets (0.35 sec)

  1. pkg/kubelet/cm/cpumanager/topology/topology_test.go

    			got := tt.details.NUMANodesInSockets(tt.ids...)
    			if !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("NUMANodesInSockets() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestCPUDetailsSockets(t *testing.T) {
    
    	tests := []struct {
    		name    string
    		details CPUDetails
    		want    cpuset.CPUSet
    	}{{
    		name: "Get CPUset of Socket IDs",
    		details: map[int]CPUInfo{
    			0: {SocketID: 0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 31.7K bytes
    - Viewed (0)
Back to top