X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3c1ebdb5d5e4370a0efd5f4c0dd4f7131fe8370..253aec39d6b6cdae39cd320f47f952b7cd665048:/examples/msg/tracing/simple.c diff --git a/examples/msg/tracing/simple.c b/examples/msg/tracing/simple.c index 584268905c..cb25e32d3d 100644 --- a/examples/msg/tracing/simple.c +++ b/examples/msg/tracing/simple.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010. The SimGrid Team. +/* Copyright (c) 2010, 2012. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -14,7 +14,7 @@ * * - tracing/simple.c very simple program where each process creates, executes and * destroy a task. You might want to run this program with the following parameters: - * --cfg=tracing/uncategorized:1 + * --cfg=tracing/uncategorized:yes * (See \ref tracing_tracing_options for details) */ @@ -29,7 +29,7 @@ int simple_func(int argc, char *argv[]); /** Emitter function */ int simple_func(int argc, char *argv[]) { - m_task_t task = MSG_task_create("task", 100, 0, NULL); + msg_task_t task = MSG_task_create("task", 100, 0, NULL); MSG_task_execute (task); MSG_task_destroy (task); return 0; @@ -53,6 +53,5 @@ int main(int argc, char *argv[]) MSG_launch_application(deployment_file); MSG_main(); - MSG_clean(); return 0; }