SST/macro
Public Member Functions | Private Attributes | List of all members
sstmac::sw::simple_compute_scheduler Class Reference

#include <simple_compute_scheduler.h>

Inheritance diagram for sstmac::sw::simple_compute_scheduler:
Inheritance graph
Collaboration diagram for sstmac::sw::simple_compute_scheduler:
Collaboration graph

Public Member Functions

 simple_compute_scheduler (operating_system *os)
 
void reserve_core (thread *thr)
 
void release_core (thread *thr)
 

Private Attributes

std::list< thread * > pending_threads_
 
int ncore_active_
 

Detailed Description

Definition at line 9 of file simple_compute_scheduler.h.

Constructor & Destructor Documentation

sstmac::sw::simple_compute_scheduler::simple_compute_scheduler ( operating_system os)
inline

Definition at line 12 of file simple_compute_scheduler.h.

References release_core(), and reserve_core().

Here is the call graph for this function:

Member Function Documentation

void sstmac::sw::simple_compute_scheduler::release_core ( thread thr)
void sstmac::sw::simple_compute_scheduler::reserve_core ( thread thr)

Member Data Documentation

int sstmac::sw::simple_compute_scheduler::ncore_active_
private

Definition at line 22 of file simple_compute_scheduler.h.

std::list<thread*> sstmac::sw::simple_compute_scheduler::pending_threads_
private

Definition at line 21 of file simple_compute_scheduler.h.


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