ROSS
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

◆ NUM_OUT_MESG

#define NUM_OUT_MESG   2000

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

Referenced by init_output_messages().

Function Documentation

◆ init_output_messages()

tw_out * init_output_messages ( tw_kp * kp)
static

Definition at line 162 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().

◆ tw_init_kps()

◆ tw_kp_grab_output_buffer()

tw_out * tw_kp_grab_output_buffer ( tw_kp * kp)

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

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

Referenced by tw_output().

◆ tw_kp_onpe()

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, pe, tw_calloc(), tw_error(), and TW_LOC.

Referenced by map_linear(), and map_round_robin().

◆ tw_kp_put_back_output_buffer()

void tw_kp_put_back_output_buffer ( tw_out * out)

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

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

Referenced by tw_free_output_messages().

◆ tw_kp_rollback_event()

◆ tw_kp_rollback_to()