- Removed misleading code
authorBart Polot <bart@net.in.tum.de>
Mon, 28 Nov 2011 16:00:18 +0000 (16:00 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 28 Nov 2011 16:00:18 +0000 (16:00 +0000)
src/nse/gnunet-nse-profiler.c

index e182cbca0076466f5ff8adf15ff2cabfdb7426cc..115d7b41787fc63e072486846f7b28bc37135601 100644 (file)
@@ -137,8 +137,6 @@ static GNUNET_SCHEDULER_TaskIdentifier churn_task;
 
 static char *topology_file;
 
-static uint64_t clock_skew;
-
 /**
  * Check whether peers successfully shut down.
  */
@@ -600,17 +598,6 @@ run (void *cls, char *const *args, const char *cfgfile,
     GNUNET_free (data_filename);
   }
 
-  if (GNUNET_YES ==
-      GNUNET_CONFIGURATION_get_value_yesno (testing_cfg, "nse-profiler",
-                                            "skew_clock"))
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Setting our clock as skewed...\n");
-    clock_skew =
-        GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK,
-                                  GNUNET_TIME_UNIT_MINUTES.rel_value);
-  }
-
-
   if (GNUNET_YES ==
       GNUNET_CONFIGURATION_get_value_string (cfg, "nse-profiler", "output_file",
                                              &temp_str))