ktf
                                
                                 ktf copied to clipboard
                                
                                    ktf copied to clipboard
                            
                            
                            
                        Add proper CPU topology enumeration for Intel and AMD CPUs
Use processor APIC ID and CPUID to detect hyperthreads, cores and sockets and store the information in corresponding cpu_t structures.
Implement API to schedule tasks based on the topology information.