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

Functions

 XBT_LOG_NEW_DEFAULT_CATEGORY (msg_test,"Messages specific for this msg example")
 
static int my_onexit (void *ignored1, void *ignored2)
 Executed on process termination. More...
 
static int sleeper (int argc, char *argv[])
 Just sleep until termination. More...
 
int main (int argc, char *argv[])
 

Function Documentation

XBT_LOG_NEW_DEFAULT_CATEGORY ( msg_test  ,
"Messages specific for this msg example"   
)
static int my_onexit ( void ignored1,
void ignored2 
)
static

Executed on process termination.

  • Just display an informative message (see tesh file)
static int sleeper ( int  argc,
char *  argv[] 
)
static

Just sleep until termination.

int main ( int  argc,
char *  argv[] 
)
  • Load the platform description
  • Deploy the sleeper processes with explicit start/kill times
  • Run the simulation