ROSS
Macros | Functions
ross-kernel-inline.h File Reference
#include "instrumentation/st-instrumentation.h"

Go to the source code of this file.

Macros

#define ROSS_MAX(a, b)   ((a) > (b) ? (a) : (b))
 
#define ROSS_MIN(a, b)   ((a) < (b) ? (a) : (b))
 

Functions

static tw_lptw_getlocal_lp (tw_lpid gid)
 
static tw_lptw_getlp (tw_lpid id)
 
static tw_kptw_getkp (tw_kpid id)
 
static int tw_ismaster (void)
 
static void * tw_getstate (tw_lp *lp)
 
static tw_stime tw_now (tw_lp const *lp)
 

Macro Definition Documentation

#define ROSS_MAX (   a,
 
)    ((a) > (b) ? (a) : (b))
#define ROSS_MIN (   a,
 
)    ((a) < (b) ? (a) : (b))

Definition at line 6 of file ross-kernel-inline.h.

Referenced by gvt_print().

Function Documentation

static tw_kp* tw_getkp ( tw_kpid  id)
inlinestatic

Definition at line 53 of file ross-kernel-inline.h.

References g_tw_kp, g_tw_nkp, tw_error(), and TW_LOC.

Referenced by late_sanity_check(), st_collect_engine_data(), tw_get_stats(), tw_init_kps(), and tw_pe_fossil_collect().

Here is the call graph for this function:

Here is the caller graph for this function:

static tw_lp* tw_getlocal_lp ( tw_lpid  gid)
inlinestatic
static tw_lp* tw_getlp ( tw_lpid  id)
inlinestatic

Definition at line 41 of file ross-kernel-inline.h.

References g_st_analysis_nlp, g_tw_lp, g_tw_nlp, tw_error(), and TW_LOC.

Referenced by st_collect_engine_data(), and tw_stats().

Here is the call graph for this function:

Here is the caller graph for this function:

static void* tw_getstate ( tw_lp lp)
inlinestatic

Definition at line 74 of file ross-kernel-inline.h.

References tw_lp::cur_state.

static int tw_ismaster ( void  )
inlinestatic

Definition at line 68 of file ross-kernel-inline.h.

References g_tw_masternode, and g_tw_mynode.

Referenced by apply_opt(), match_opt(), need_argument(), tw_end(), tw_init(), tw_opt_print(), and tw_stats().

Here is the caller graph for this function:

static tw_stime tw_now ( tw_lp const *  lp)
inlinestatic

Definition at line 80 of file ross-kernel-inline.h.

References tw_lp::kp, and tw_kp::last_time.

Referenced by analysis_event(), st_buffer_push(), st_collect_model_data(), st_create_sample_event(), tw_event_new(), tw_event_send(), and tw_lp_suspend().

Here is the caller graph for this function: