SimGrid  3.13
Versatile Simulation of Distributed Systems
network-ns3.c File Reference
#include "simgrid/msg.h"

Macros

#define NTASKS   1500
 
#define FINALIZE   ((void*)221297) /* a magic number to tell people to stop working */
 

Functions

 XBT_LOG_NEW_DEFAULT_CATEGORY (msg_test,"Messages specific for this msg example")
 
static int master (int argc, char *argv[])
 
static int timer (int argc, char *argv[])
 
static int worker (int argc, char *argv[])
 
int main (int argc, char *argv[])
 

Variables

int timer_start
 
int bool_printed = 0
 
double start_time
 
double end_time
 
double elapsed_time
 
double gl_data_size [NTASKS]
 
msg_task_t gl_task_array [NTASKS]
 
const char * workernames [NTASKS]
 
const char * masternames [NTASKS]
 
int gl_task_array_id = 0
 
int count_finished = 0
 

Macro Definition Documentation

#define NTASKS   1500
#define FINALIZE   ((void*)221297) /* a magic number to tell people to stop working */

Function Documentation

XBT_LOG_NEW_DEFAULT_CATEGORY ( msg_test  ,
"Messages specific for this msg example"   
)
static int master ( int  argc,
char *  argv[] 
)
static
static int timer ( int  argc,
char *  argv[] 
)
static
static int worker ( int  argc,
char *  argv[] 
)
static
int main ( int  argc,
char *  argv[] 
)

Variable Documentation

int timer_start
int bool_printed = 0
double start_time
double end_time
double elapsed_time
double gl_data_size[NTASKS]
msg_task_t gl_task_array[NTASKS]
const char* workernames[NTASKS]
const char* masternames[NTASKS]
int gl_task_array_id = 0
int count_finished = 0