52 prt_assert(size == 0,
"destroying non-empty list");
54 prt_assert(status == 0,
"icl_list_destroy failed");
115 while (node != NULL);
prt_vdp_function_t function
icl_list_t * icl_list_new()
Create new linked list.
int icl_list_size(icl_list_t *head)
Get the number of items in this linked list.
struct prt_channel_s ** input
int icl_list_destroy(icl_list_t *head, void(*free_function)(void *))
Frees the resources associated with this linked list.
struct prt_config_s * config
icl_list_t * icl_list_first(icl_list_t *head)
Get the first item in this linked list.
int prt_vdp_ready(prt_vdp_t *vdp)
Check if a VDP is ready to fire. Only checks established channels. (NULL channels don't prevent firin...
void * prt_thread_run(void *thrd)
thread's production cycle Cycle through VDPs. Fire the ones that are ready. Remove the ones which bur...
void prt_thread_delete(prt_thread_t *thread)
thread object destructor
void svg_trace_start(int thread_rank)
Start tracing an event.
prt_thread_t * prt_thread_new(int rank, int core)
thread object constructor
#define prt_assert(cond, msg)
Virtual Data Processor (VDP) Is uniquely identified by a tuple. Fires for a predefined number of cycl...
int icl_list_delete(icl_list_t *head, icl_list_t *pos, void(*free_function)(void *))
Delete the specified node.
VSA's worker thread Owns a number of VDPs. Knows the communication proxy.
void svg_trace_stop(int thread_rank, int color)
Stop tracing an event.
struct prt_channel_s ** output
icl_list_t * icl_list_next(icl_list_t *head, icl_list_t *pos)
Get the node following the specified node.