RaftLib
0.3a
C++ Stream Processing Template Library
|
Public Member Functions | |
dynalloc (Map &map, volatile bool &exit_alloc) | |
virtual void | run () |
![]() | |
Allocate (Map &map, volatile bool &exit_alloc) | |
virtual | ~Allocate () |
void | waitTillReady () |
Additional Inherited Members | |
![]() | |
void | initialize (PortInfo *src, PortInfo *dst, FIFO *fifo) |
void | setReady () |
![]() | |
std::set< raft::kernel * > & | source_kernels |
std::set< raft::kernel * > & | all_kernels |
std::set< FIFO * > | allocated_fifo |
volatile bool & | exit_alloc |
|
virtual |
run - implement this function to create a new allocator, will be run inside a thread so exits when done but if run-time monitoring is desired then this is the place to do it.
assume everyone needs a heap for the moment to get working
TODO, fix this one.
BEGIN TEST DATA
make this a fixed quantity right now, if size > .75% at montor interval three times or more then increase size.
TODO, the values might wrap if no monitoring on
get initializer function
start monitor loop
monitor fifo's
Implements Allocate.