18 ev_data.
real_ts = (float) recv_rt;
19 int total_sz =
sizeof(ev_data);
23 fprintf(stderr,
"WARNING: node: %ld: %s:%i: ",
g_tw_mynode, __FILE__, __LINE__);
24 fprintf(stderr,
"The struct st_model_types has not been defined! No model level data will be collected\n");
35 char buffer[total_sz];
42 memcpy(&buffer[0], &ev_data,
sizeof(ev_data));
tw_synch g_tw_synchronization_protocol
tw_lp * dest_lp
Destination LP ID.
size_t ev_sz
size of data collected from model for each event
tw_statistics stats
per PE counters
tw_stime recv_ts
Actual time to be received.
void st_buffer_push(int type, char *data, int size)
static tw_clock tw_clock_read(void)
void st_collect_event_data(tw_event *cev, double recv_rt)
static void * tw_event_data(tw_event *event)
tw_lpid send_lp
sending LP ID for data collection uses
struct st_model_types * model_types
ev_trace_f ev_trace
function pointer to collect data about all events for given LP
static short evtype_warned
unsigned int model_data_sz