• Arik Hadas's avatar
    Cleanup in topology.go · c3a533e5
    Arik Hadas authored
    1. Find the minimal thread number within a core using a
    single loop rather than by sorting the thread numbers.
    
    2. Inline getUniqueCoreID#err and Discover#numCPUs variables.
    
    3. Narrow the scope of Discover#coreID and Discover#err variables.
    Signed-off-by: 's avatarArik Hadas <ahadas@redhat.com>
    c3a533e5
topology.go 4.81 KB