Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
useless global variable, hindering MC equality
[simgrid.git] / examples / msg / dht-chord / dht-chord.c
index 800a648..420d502 100644 (file)
 
 /** @addtogroup MSG_examples
  *
- *  - <b>chord/chord.c: Classical Chord P2P protocol</b>
- *    This example implements the well known Chord P2P protocol. Its main advantage is that it constitute a fully
- *    working non-trivial example. In addition, its implementation is rather efficient, as demonstrated in
- *    http://hal.inria.fr/inria-00602216/
+ *  - <b>Chord P2P protocol dht-chord/dht-chord.c:</b>. This example implements the well known Chord P2P protocol. Its
+ *    main advantage is that it constitutes a fully working non-trivial example. In addition, its implementation is
+ *    rather efficient, as demonstrated in http://hal.inria.fr/inria-00602216/
  */
 
 
@@ -35,8 +34,6 @@ static int periodic_lookup_delay = 10;
 
 static const double sleep_delay = 4.9999;
 
-extern long int smx_total_comms;
-
 /* Finger element. */
 typedef struct s_finger {
   int id;
@@ -1044,7 +1041,6 @@ int main(int argc, char *argv[])
   MSG_launch_application(application_file);
 
   msg_error_t res = MSG_main();
-  XBT_CRITICAL("Messages created: %ld", smx_total_comms);
   XBT_INFO("Simulated time: %g", MSG_get_clock());
 
   chord_exit();