RaftLib
0.3a
C++ Stream Processing Template Library
|
Public Member Functions | |
basic_parallel (Map &map, Allocate &alloc, Schedule &sched, volatile bool &exit_para) | |
virtual void | start () |
Protected Attributes | |
kernelkeeper & | source_kernels |
kernelkeeper & | all_kernels |
Allocate & | alloc |
Schedule & | sched |
volatile bool & | exit_para |
basic_parallel::basic_parallel | ( | Map & | map, |
Allocate & | alloc, | ||
Schedule & | sched, | ||
volatile bool & | exit_para | ||
) |
nothing to do here, move along
|
virtual |
since we have to have a lock on the ports for both BFS and duplication, we'll mark the kernels inside of BFS and duplicate outside of it.
start checking stats
input stats
apply criteria
FIXME, logic below only works for single input, single output..intended to get it working
clone
attach ports
connecting a.y -> b.x new_other_outprt == port y on a new_port_in == port x on b
connecting b.y -> c.x newoutport == port y on b new_other_inport == port x on c
schedule new kernel
|
protected |
both convenience structs, hold exactly what the names say