1#ifndef INC_ross_inline_h
2#define INC_ross_inline_h
55 tw_error(
TW_LOC,
"Cannot send events into the past! Sending LP: %lu\n", sender->
gid);
59 tw_error(
TW_LOC,
"Cannot specify an event priority outside of range [0.0,1.0]");
88 "No free event buffers. Try increasing via g_tw_events_per_pe"
105#ifdef USE_RAND_TIEBREAKER
111 if (offset_ts == 0) {
void buddy_free(void *ptr)
static tw_clock tw_clock_read(void)
tw_event * io_event_grab(tw_pe *pe)
#define TW_STIME_ADD(x, y)
double g_tw_min_detected_offset
void tw_error(const char *file, int line, const char *fmt,...)
void tw_kp_put_back_output_buffer(tw_out *out)
tw_synch g_tw_synchronization_protocol
static void * tw_event_data(tw_event *event)
static void tw_free_output_messages(tw_event *e, int print_message)
static tw_event * tw_event_grab(tw_pe *pe)
static tw_event * tw_event_new(tw_lpid dest_gid, tw_stime offset_ts, tw_lp *sender)
static tw_event * tw_event_new_user_prio(tw_lpid dest_gid, tw_stime offset_ts, tw_lp *sender, tw_stime prio)
static void tw_event_free(tw_pe *pe, tw_event *e)
static tw_stime tw_now(tw_lp const *lp)
Definition of ROSS basic types.
@ TW_pe_free_q
In tw_pe.free_q.
static void tw_eventq_unshift(tw_eventq *q, tw_event *e)
static tw_event * tw_eventq_pop(tw_eventq *q)
double event_tiebreaker[20]
unsigned int tie_lineage_length
struct tw_event::@130070134144252114152124341363102114315067064025 state
tw_event * cause_next
Next in parent's caused_by_me chain.
tw_lp * src_lp
Sending LP ID.
tw_out * out_msgs
Output messages.
tw_stime recv_ts
Actual time to be received.
unsigned int critical_path
Critical path of this event.
unsigned char owner
Owner of the next/prev pointers; see tw_event_owner.
void * delta_buddy
Delta memory from buddy allocator.
tw_event * caused_by_me
Start of event list caused by this event.
tw_lp * dest_lp
Destination LP ID.
tw_eventid event_id
Unique id assigned by src_lp->pe if remote.
tw_event * cancel_next
Next event in the cancel queue for the dest_pe.
tw_event_sig sig
Event signature, to be used by tiebreaker.
size_t aborted_total
Number of events caused by this event that were not scheduled.
tw_rng_stream * core_rng
RNG stream array for ROSS non-model operation - possible alternative to a model_rng pointer array.
unsigned int critical_path
Critical path value for this LP.
Rollback-aware output mechanism.
char message[256 - 2 *sizeof(void *)]
Holds the entire PE state.
tw_event * cur_event
Current event being processed.
tw_event * abort_event
Placeholder event for when free_q is empty.
tw_statistics stats
per PE counters
tw_stat s_events_past_end