ROSS
Functions | Variables
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

void analysis_commit ( analysis_state s,
tw_bf bf,
analysis_msg m,
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_finish ( analysis_state s,
tw_lp lp 
)
void analysis_init ( analysis_state s,
tw_lp lp 
)
tw_peid analysis_map ( tw_lpid  gid)

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

References analysis_start_gid, and g_tw_nkp.

void st_analysis_lp_settype ( tw_lpid  lpid)

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

References tw_lp_settype().

Referenced by specialized_lp_init_mapping().

Here is the call graph for this function:

Here is the caller graph for this function:

static void st_create_sample_event ( tw_lp lp)
static

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

References g_st_sampling_end, g_st_vt_interval, tw_lp::gid, analysis_msg::src, tw_event_data(), tw_event_new(), tw_event_send(), tw_now(), TW_STIME_CRT, and TW_STIME_DBL.

Referenced by analysis_event(), and analysis_init().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

tw_lptype analysis_lp[]
Initial value:
= {
(pre_run_f) NULL,
sizeof(analysis_state)},
{0},
}
void analysis_init(analysis_state *s, tw_lp *lp)
Definition: analysis-lp.c:13
tw_peid analysis_map(tw_lpid gid)
Definition: analysis-lp.c:282
void analysis_event(analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
Definition: analysis-lp.c:94
void(* event_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)
Definition: ross-types.h:77
void analysis_finish(analysis_state *s, tw_lp *lp)
Definition: analysis-lp.c:258
tw_peid(* map_f)(tw_lpid)
Definition: ross-types.h:73
void analysis_commit(analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
Definition: analysis-lp.c:199
void(* init_f)(void *sv, tw_lp *me)
Definition: ross-types.h:72
void analysis_event_rc(analysis_state *s, tw_bf *bf, analysis_msg *m, tw_lp *lp)
Definition: analysis-lp.c:146
void(* revent_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)
Definition: ross-types.h:78
void(* pre_run_f)(void *sv, tw_lp *me)
Definition: ross-types.h:76
void(* final_f)(void *sv, tw_lp *me)
Definition: ross-types.h:80
void(* commit_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)
Definition: ross-types.h:79

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