ROSS
Data Structures | Typedefs | Enumerations
ross-types.h File Reference

Definition of ROSS basic types. More...

Go to the source code of this file.

Data Structures

struct  tw_petype
 Virtual Functions for per PE ops. More...
 
struct  tw_lptype
 Function Pointers for ROSS Event Handlers. More...
 
struct  tw_statistics
 Statistics tallied over the duration of the simulation. More...
 
struct  tw_eventq
 
struct  tw_bf
 Reverse Computation Bitfield. More...
 
struct  tw_out
 Rollback-aware output mechanism. More...
 
struct  tw_event
 Event Stucture. More...
 
struct  tw_lp
 LP State Structure. More...
 
struct  tw_kp
 
struct  tw_pe
 Holds the entire PE state. More...
 

Typedefs

typedef struct tw_statistics tw_statistics
 
typedef struct tw_pq tw_pq
 
typedef struct tw_lptype tw_lptype
 
typedef struct tw_petype tw_petype
 
typedef struct tw_bf tw_bf
 
typedef struct tw_eventq tw_eventq
 
typedef struct tw_event tw_event
 
typedef struct tw_lp tw_lp
 
typedef struct tw_kp tw_kp
 
typedef struct tw_pe tw_pe
 
typedef struct avlNodeAvlTree
 
typedef enum tw_synch_e tw_synch
 
typedef enum tw_lp_map tw_lp_map
 
typedef tw_peid tw_kpid
 
typedef unsigned int tw_eventid
 
typedef unsigned long long tw_stat
 
typedef void(* pe_init_f )(tw_pe *pe)
 
typedef void(* pe_gvt_f )(tw_pe *pe)
 
typedef void(* pe_final_f )(tw_pe *pe)
 
typedef void(* init_f )(void *sv, tw_lp *me)
 
typedef tw_peid(* map_f )(tw_lpid)
 
typedef tw_lp *(* map_local_f )(tw_lpid)
 
typedef void(* map_custom_f )(void)
 
typedef void(* pre_run_f )(void *sv, tw_lp *me)
 
typedef void(* event_f )(void *sv, tw_bf *cv, void *msg, tw_lp *me)
 
typedef void(* revent_f )(void *sv, tw_bf *cv, void *msg, tw_lp *me)
 
typedef void(* commit_f )(void *sv, tw_bf *cv, void *msg, tw_lp *me)
 
typedef void(* final_f )(void *sv, tw_lp *me)
 
typedef tw_lpid(* tw_typemap_f )(tw_lpid gid)
 
typedef enum tw_event_owner tw_event_owner
 
typedef struct tw_out tw_out
 Rollback-aware output mechanism. More...
 

Enumerations

enum  tw_synch_e {
  NO_SYNCH, SEQUENTIAL, CONSERVATIVE, OPTIMISTIC,
  OPTIMISTIC_DEBUG, OPTIMISTIC_REALTIME
}
 
enum  tw_lp_map { LINEAR, ROUND_ROBIN, CUSTOM }
 
enum  tw_event_owner {
  TW_pe_event_q = 1, TW_pe_pq = 2, TW_kp_pevent_q = 3, TW_pe_anti_msg = 4,
  TW_net_outq = 5, TW_net_asend = 6, TW_net_acancel = 7, TW_pe_sevent_q = 8,
  TW_pe_free_q = 9
}
 

Typedef Documentation

typedef struct avlNode* AvlTree

Definition at line 21 of file ross-types.h.

typedef void(* commit_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)

Definition at line 79 of file ross-types.h.

typedef void(* event_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)

Definition at line 77 of file ross-types.h.

typedef void(* final_f)(void *sv, tw_lp *me)

Definition at line 80 of file ross-types.h.

typedef void(* init_f)(void *sv, tw_lp *me)

Definition at line 72 of file ross-types.h.

typedef void(* map_custom_f)(void)

Definition at line 75 of file ross-types.h.

typedef tw_peid(* map_f)(tw_lpid)

Definition at line 73 of file ross-types.h.

typedef tw_lp*(* map_local_f)(tw_lpid)

Definition at line 74 of file ross-types.h.

typedef void(* pe_final_f)(tw_pe *pe)

Definition at line 52 of file ross-types.h.

typedef void(* pe_gvt_f)(tw_pe *pe)

Definition at line 51 of file ross-types.h.

typedef void(* pe_init_f)(tw_pe *pe)

Definition at line 50 of file ross-types.h.

typedef void(* pre_run_f)(void *sv, tw_lp *me)

Definition at line 76 of file ross-types.h.

typedef void(* revent_f)(void *sv, tw_bf *cv, void *msg, tw_lp *me)

Definition at line 78 of file ross-types.h.

typedef struct tw_bf tw_bf

Definition at line 15 of file ross-types.h.

typedef struct tw_event tw_event

Definition at line 17 of file ross-types.h.

Definition at line 227 of file ross-types.h.

typedef unsigned int tw_eventid

Definition at line 46 of file ross-types.h.

typedef struct tw_eventq tw_eventq

Definition at line 16 of file ross-types.h.

typedef struct tw_kp tw_kp

Definition at line 19 of file ross-types.h.

typedef tw_peid tw_kpid

tw_kpid – Kernel Process (KP) id

Definition at line 45 of file ross-types.h.

typedef struct tw_lp tw_lp

Definition at line 18 of file ross-types.h.

typedef enum tw_lp_map tw_lp_map

Definition at line 42 of file ross-types.h.

typedef struct tw_lptype tw_lptype

Definition at line 13 of file ross-types.h.

typedef struct tw_out tw_out

tw_out Regularly requested feature: rollback-aware output. This will allow us to create an output stream without messages from cancelled events.

typedef struct tw_pe tw_pe

Definition at line 20 of file ross-types.h.

typedef struct tw_petype tw_petype

Definition at line 14 of file ross-types.h.

typedef struct tw_pq tw_pq

Definition at line 9 of file ross-types.h.

typedef unsigned long long tw_stat

Definition at line 48 of file ross-types.h.

typedef struct tw_statistics tw_statistics

Definition at line 8 of file ross-types.h.

typedef enum tw_synch_e tw_synch

Definition at line 35 of file ross-types.h.

typedef tw_lpid(* tw_typemap_f)(tw_lpid gid)

Definition at line 99 of file ross-types.h.

Enumeration Type Documentation

Enumerator
TW_pe_event_q 

In a tw_pe.event_q list.

TW_pe_pq 

In a tw_pe.pq.

TW_kp_pevent_q 

In a tw_kp.pevent_q.

TW_pe_anti_msg 

Anti-message.

TW_net_outq 

Pending network transmission.

TW_net_asend 

Network transmission in progress.

TW_net_acancel 

Network transmission in progress.

TW_pe_sevent_q 

In tw_pe.sevent_q.

TW_pe_free_q 

In tw_pe.free_q.

Definition at line 213 of file ross-types.h.

enum tw_lp_map
Enumerator
LINEAR 
ROUND_ROBIN 
CUSTOM 

Definition at line 37 of file ross-types.h.

enum tw_synch_e

Synchronization protocol used

Enumerator
NO_SYNCH 
SEQUENTIAL 
CONSERVATIVE 
OPTIMISTIC 
OPTIMISTIC_DEBUG 
OPTIMISTIC_REALTIME 

Definition at line 26 of file ross-types.h.