ROSS
Macros | Functions
tw-kp.c File Reference
#include <ross.h>

Go to the source code of this file.

Macros

#define NUM_OUT_MESG   2000
 

Functions

void tw_kp_onpe (tw_kpid id, tw_pe *pe)
 
void tw_kp_rollback_to (tw_kp *kp, tw_stime to)
 
void tw_kp_rollback_event (tw_event *event)
 
static tw_outinit_output_messages (tw_kp *kp)
 
void tw_init_kps (tw_pe *me)
 
tw_outtw_kp_grab_output_buffer (tw_kp *kp)
 
void tw_kp_put_back_output_buffer (tw_out *out)
 

Macro Definition Documentation

#define NUM_OUT_MESG   2000

Definition at line 111 of file tw-kp.c.

Referenced by init_output_messages().

Function Documentation

static tw_out* init_output_messages ( tw_kp kp)
static

Definition at line 114 of file tw-kp.c.

References tw_out::next, NUM_OUT_MESG, tw_out::owner, tw_calloc(), and TW_LOC.

Referenced by tw_init_kps().

Here is the call graph for this function:

Here is the caller graph for this function:

void tw_init_kps ( tw_pe me)
tw_out* tw_kp_grab_output_buffer ( tw_kp kp)

Definition at line 162 of file tw-kp.c.

References tw_out::next, and tw_kp::output.

Referenced by tw_output().

Here is the caller graph for this function:

void tw_kp_onpe ( tw_kpid  id,
tw_pe pe 
)

Definition at line 4 of file tw-kp.c.

References g_tw_kp, g_tw_nkp, tw_kp::id, pe, tw_kp::pe, tw_calloc(), tw_error(), and TW_LOC.

Referenced by map_linear(), and map_round_robin().

Here is the call graph for this function:

Here is the caller graph for this function:

void tw_kp_put_back_output_buffer ( tw_out out)

Definition at line 175 of file tw-kp.c.

References tw_out::next, tw_kp::output, and tw_out::owner.

Referenced by tw_free_output_messages().

Here is the caller graph for this function:

void tw_kp_rollback_event ( tw_event event)
void tw_kp_rollback_to ( tw_kp kp,
tw_stime  to 
)