- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CPUsPerSocket (0.12 sec)
-
pkg/kubelet/cm/cpumanager/topology/topology.go
// each core. func (topo *CPUTopology) CPUsPerCore() int { if topo.NumCores == 0 { return 0 } return topo.NumCPUs / topo.NumCores } // CPUsPerSocket returns the number of logical CPUs are associated with // each socket. func (topo *CPUTopology) CPUsPerSocket() int { if topo.NumSockets == 0 { return 0 } return topo.NumCPUs / topo.NumSockets }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment.go
// "fully available" means that all the CPUs in it are free. func (a *cpuAccumulator) isSocketFree(socketID int) bool { return a.details.CPUsInSockets(socketID).Size() == a.topo.CPUsPerSocket() } // Returns true if the supplied core is fully available in `a.details`. // "fully available" means that all the CPUs in it are free. func (a *cpuAccumulator) isCoreFree(coreID int) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 23:56:21 UTC 2024 - 36.3K bytes - Viewed (0)