Pyrogenesis  trunk
Namespaces | Functions
topology.h File Reference
#include "lib/sysdep/arch/x86_x64/apic.h"
Include dependency graph for topology.h:
This graph shows which files directly or indirectly include this file:

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)