static int lazy_guy(
int argc,
char *
argv[])
{
XBT_INFO(
"Nobody's watching me ? Let's go to sleep.");
XBT_INFO(
"Uuuh ? Did somebody call me ?");
XBT_INFO(
"Going to sleep one more time (for 10 sec)...");
XBT_INFO(
"Ok, let's do some work, then (for 10 sec on Boivin).");
XBT_INFO(
"Mmmh, I'm done now. Goodbye.");
return 0;
}
static int dream_master(int argc, char *argv[])
{
XBT_INFO(
"Let's wake the lazy guy up! >:) BOOOOOUUUHHH!!!!");
XBT_INFO(
"Suspend the lazy guy while he's sleeping...");
XBT_INFO(
"Suspend again the lazy guy while he's sleeping...");
XBT_INFO(
"This time, don't let him finish his siesta.");
XBT_INFO(
"Give a 2 seconds break to the lazy guy while he's working...");
return 0;
}
int main(
int argc,
char *argv[])
{
xbt_assert(argc > 1,
"Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]);
}