ROSS
analysis-lp.c File Reference
#include "ross.h"
#include "analysis-lp.h"
#include <math.h>
#include <limits.h>

Go to the source code of this file.

Functions

static void st_create_sample_event (tw_lp *lp)
void analysis_init (analysis_state *s, tw_lp *lp)
void analysis_event (analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
void analysis_event_rc (analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
void analysis_commit (analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
void analysis_finish (analysis_state *s, tw_lp *lp)
tw_peid analysis_map (tw_lpid gid)
void st_analysis_lp_settype (tw_lpid lpid)

Variables

tw_lptype analysis_lp []

Function Documentation

◆ analysis_commit()

◆ analysis_event()

◆ analysis_event_rc()

◆ analysis_finish()

void analysis_finish ( analysis_state * s,
tw_lp * lp )

◆ analysis_init()

◆ analysis_map()

tw_peid analysis_map ( tw_lpid gid)

Definition at line 282 of file analysis-lp.c.

References analysis_start_gid, and g_tw_nkp.

◆ st_analysis_lp_settype()

void st_analysis_lp_settype ( tw_lpid lpid)

Definition at line 300 of file analysis-lp.c.

References analysis_lp, and tw_lp_settype().

Referenced by specialized_lp_init_mapping().

◆ st_create_sample_event()

void st_create_sample_event ( tw_lp * lp)
static

Variable Documentation

◆ analysis_lp

tw_lptype analysis_lp[]
Initial value:
= {
(pre_run_f) NULL,
sizeof(analysis_state)},
{0},
}
void analysis_commit(analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
void analysis_event_rc(analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
void analysis_finish(analysis_state *s, tw_lp *lp)
void analysis_init(analysis_state *s, tw_lp *lp)
Definition analysis-lp.c:13
tw_peid analysis_map(tw_lpid gid)
void analysis_event(analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
Definition analysis-lp.c:94
void(* final_f)(void *sv, tw_lp *me)
Definition ross-types.h:90
void(* init_f)(void *sv, tw_lp *me)
Definition ross-types.h:82
void(* event_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)
Definition ross-types.h:87
void(* revent_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)
Definition ross-types.h:88
tw_peid(* map_f)(tw_lpid)
Definition ross-types.h:83
void(* commit_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)
Definition ross-types.h:89
void(* pre_run_f)(void *sv, tw_lp *me)
Definition ross-types.h:86

Definition at line 288 of file analysis-lp.c.

Referenced by st_analysis_lp_settype().