- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsNarrowerThan (0.15 sec)
-
pkg/kubelet/cm/topologymanager/topology_manager.go
func (th *TopologyHint) LessThan(other TopologyHint) bool { if th.Preferred != other.Preferred { return th.Preferred } return th.NUMANodeAffinity.IsNarrowerThan(other.NUMANodeAffinity) } var _ Manager = &manager{} // NewManager creates a new TopologyManager based on provided policy and scope
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 12:43:16 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_static.go
bestHint = hint continue } // both hints has the same preferred value, but the current hint has less NUMA nodes than the extended one if hint.Preferred == bestHint.Preferred && hint.NUMANodeAffinity.IsNarrowerThan(bestHint.NUMANodeAffinity) { bestHint = hint } } return &bestHint } // GetAllocatableMemory returns the amount of allocatable memory for each NUMA node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Nov 12 07:34:55 UTC 2023 - 34K bytes - Viewed (0)