gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32732 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r32732 - gnunet/src/mesh
Date: Fri, 21 Mar 2014 19:44:37 +0100

Author: bartpolot
Date: 2014-03-21 19:44:37 +0100 (Fri, 21 Mar 2014)
New Revision: 32732

Added:
   gnunet/src/mesh/profiler.conf
Removed:
   gnunet/src/mesh/.profiler.template
Modified:
   gnunet/src/mesh/gnunet-mesh-profiler.c
   gnunet/src/mesh/run_profiler.sh
Log:
- hide temp config file, show config template

Deleted: gnunet/src/mesh/.profiler.template
===================================================================
--- gnunet/src/mesh/.profiler.template  2014-03-21 18:44:36 UTC (rev 32731)
+++ gnunet/src/mesh/.profiler.template  2014-03-21 18:44:37 UTC (rev 32732)
@@ -1,8 +0,0 @@
address@hidden@ test_mesh.conf
-[testbed]
-OVERLAY_TOPOLOGY = RANDOM
-OVERLAY_RANDOM_LINKS = 200
-
-[transport]
-#MANIPULATE_DELAY_IN = 50 ms
-MANIPULATE_DELAY_OUT = 100 ms
\ No newline at end of file

Modified: gnunet/src/mesh/gnunet-mesh-profiler.c
===================================================================
--- gnunet/src/mesh/gnunet-mesh-profiler.c      2014-03-21 18:44:36 UTC (rev 
32731)
+++ gnunet/src/mesh/gnunet-mesh-profiler.c      2014-03-21 18:44:37 UTC (rev 
32732)
@@ -946,7 +946,7 @@
   static uint32_t ports[2];
   const char *config_file;
 
-  config_file = "profiler.conf";
+  config_file = ".profiler.conf";
 
   if (2 > argc)
   {

Copied: gnunet/src/mesh/profiler.conf (from rev 32731, 
gnunet/src/mesh/.profiler.template)
===================================================================
--- gnunet/src/mesh/profiler.conf                               (rev 0)
+++ gnunet/src/mesh/profiler.conf       2014-03-21 18:44:37 UTC (rev 32732)
@@ -0,0 +1,8 @@
address@hidden@ test_mesh.conf
+[testbed]
+OVERLAY_TOPOLOGY = RANDOM
+OVERLAY_RANDOM_LINKS = 200
+
+[transport]
+#MANIPULATE_DELAY_IN = 50 ms
+MANIPULATE_DELAY_OUT = 100 ms
\ No newline at end of file

Modified: gnunet/src/mesh/run_profiler.sh
===================================================================
--- gnunet/src/mesh/run_profiler.sh     2014-03-21 18:44:36 UTC (rev 32731)
+++ gnunet/src/mesh/run_profiler.sh     2014-03-21 18:44:37 UTC (rev 32732)
@@ -16,6 +16,6 @@
 LINKS=`printf "%.0f" $LINKS`
 echo "using $PEERS peers, $LINKS links";
     
-sed -e "s/%LINKS%/$LINKS/g" .profiler.template > profiler.conf
+sed -e "s/%LINKS%/$LINKS/g" profiler.conf > .profiler.conf
 
 ./gnunet-mesh-profiler $PEERS




reply via email to

[Prev in Thread] Current Thread [Next in Thread]