Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CPUsInCores (0.11 sec)

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

    			if info.NUMANodeID == id {
    				cpuIDs = append(cpuIDs, cpu)
    			}
    		}
    	}
    	return cpuset.New(cpuIDs...)
    }
    
    // CPUsInCores returns all of the logical CPU IDs associated with the given
    // core IDs in this CPUDetails.
    func (d CPUDetails) CPUsInCores(ids ...int) cpuset.CPUSet {
    	var cpuIDs []int
    	for _, id := range ids {
    		for cpu, info := range d {
    			if info.CoreID == id {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top