Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
topology.h File Reference
#include "lib/sysdep/arch/x86_x64/apic.h"

Go to the source code of this file.

Namespaces

 topology
 

Functions

size_t topology::NumPackages ()
 
size_t topology::CoresPerPackage ()
 
size_t topology::LogicalPerCore ()
 
size_t topology::PackageFromApicId (ApicId apicId)
 
size_t topology::CoreFromApicId (ApicId apicId)
 
size_t topology::LogicalFromApicId (ApicId apicId)
 
ApicId topology::ApicIdFromIndices (size_t idxPackage, size_t idxCore, size_t idxLogical)
 
size_t topology::NumCaches ()
 
size_t topology::CacheFromProcessor (size_t processor)
 
uintptr_t topology::ProcessorMaskFromCache (size_t cache)