The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
RoundRobinCoreAllocator Class Reference
+ Inheritance diagram for RoundRobinCoreAllocator:
+ Collaboration diagram for RoundRobinCoreAllocator:

Public Member Functions

virtual bool initialise (List< PerProcessorScheduler * > &procList)
 
virtual PerProcessorScheduler * allocateThread (Thread *pThread)
 
- Public Member Functions inherited from ThreadToCoreAllocationAlgorithm
virtual void threadRemoved (Thread *pThread)
 

Private Attributes

Tree< PerProcessorScheduler *, PerProcessorScheduler * > m_ProcMap
 
PerProcessorScheduler * m_pNext
 
Spinlock m_Lock
 

Detailed Description

Definition at line 31 of file RoundRobinCoreAllocator.h.

Constructor & Destructor Documentation

◆ RoundRobinCoreAllocator()

RoundRobinCoreAllocator::RoundRobinCoreAllocator ( )

Definition at line 31 of file RoundRobinCoreAllocator.cc.

◆ ~RoundRobinCoreAllocator()

RoundRobinCoreAllocator::~RoundRobinCoreAllocator ( )
virtual

Definition at line 33 of file RoundRobinCoreAllocator.cc.

Member Function Documentation

◆ allocateThread()

PerProcessorScheduler * RoundRobinCoreAllocator::allocateThread ( Thread *  pThread)
virtual

Implements ThreadToCoreAllocationAlgorithm.

Definition at line 58 of file RoundRobinCoreAllocator.cc.

◆ initialise()

bool RoundRobinCoreAllocator::initialise ( List< PerProcessorScheduler * > &  procList)
virtual

Implements ThreadToCoreAllocationAlgorithm.

Definition at line 35 of file RoundRobinCoreAllocator.cc.

Member Data Documentation

◆ m_Lock

Spinlock RoundRobinCoreAllocator::m_Lock
private

Definition at line 44 of file RoundRobinCoreAllocator.h.

◆ m_pNext

PerProcessorScheduler* RoundRobinCoreAllocator::m_pNext
private

Definition at line 43 of file RoundRobinCoreAllocator.h.

◆ m_ProcMap

Tree<PerProcessorScheduler*, PerProcessorScheduler*> RoundRobinCoreAllocator::m_ProcMap
private

Definition at line 41 of file RoundRobinCoreAllocator.h.


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