Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
topology::CacheRelations Class Reference

Classes

class  SharedCache
 stores ID and tracks which processors share this cache More...
 

Public Member Functions

void Add (u8 cacheId, size_t processor)
 add processor to the processor mask owned by cache identified by <id> More...
 
size_t NumCaches () const
 
void StoreProcessorMasks (uintptr_t *cachesProcessorMask)
 store topology in an array (one entry per cache) of masks representing the processors that share a cache. More...
 

Private Member Functions

SharedCacheFind (u8 cacheId)
 

Private Attributes

std::vector< SharedCachem_caches
 

Detailed Description

Definition at line 309 of file topology.cpp.

Member Function Documentation

void topology::CacheRelations::Add ( u8  cacheId,
size_t  processor 
)
inline

add processor to the processor mask owned by cache identified by <id>

Definition at line 315 of file topology.cpp.

SharedCache* topology::CacheRelations::Find ( u8  cacheId)
inlineprivate

Definition at line 373 of file topology.cpp.

size_t topology::CacheRelations::NumCaches ( ) const
inline

Definition at line 326 of file topology.cpp.

void topology::CacheRelations::StoreProcessorMasks ( uintptr_t *  cachesProcessorMask)
inline

store topology in an array (one entry per cache) of masks representing the processors that share a cache.

Definition at line 335 of file topology.cpp.

Member Data Documentation

std::vector<SharedCache> topology::CacheRelations::m_caches
private

Definition at line 384 of file topology.cpp.


The documentation for this class was generated from the following file: