func (m *manager) calculateAffinity(pod *v1.Pod, container *v1.Container) (TopologyHint, bool) {
	providersHints := m.accumulateProvidersHints(pod, container)
	bestHint, admit := m.policy.Merge(providersHints)
	klog.Infof("[topologymanager] ContainerTopologyHint: %v", bestHint)
	return bestHint, admit
}
// Collect Hints from hint providers and pass to policy to retrieve the best one.
Collect Hints from hint providers and pass to policy to retrieve the best one.
// Collect Hints from hint providers and pass to policy to retrieve the best one .
func (m *manager) calculateAffinity(pod *v1.Pod, container *v1.Container) (TopologyHint, bool) {
	providersHints := m.accumulateProvidersHints(pod, container)
	bestHint, admit := m.policy.Merge(providersHints)
	klog.Infof("[topologymanager] ContainerTopologyHint: %v", bestHint)
	return bestHint, admit
}
func ( m * manager ) calculateAffinity ( pod * v1 . Pod , container * v1 . Container ) ( TopologyHint , bool ) { providersHints := m . accumulateProvidersHints ( pod , container ) bestHint , admit := m . policy . Merge ( providersHints ) klog . Infof ( " " , bestHint ) return bestHint , admit }
Collect Hints from hint providers and pass to policy to retrieve the best one.
Collect Hints from hint providers and pass to policy to retrieve the best one .