aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-27 21:46:41 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-27 21:46:41 +0000
commit46a63dc665f31fa7d42639ab6adabbdb1af239c8 (patch)
tree6c3e58a7f57d6d3ee44aa6cd2808b5458d75de4b /src/nse
parent4848a679018f9e864cd277345191ad8f1000b5ff (diff)
downloadgnunet-46a63dc665f31fa7d42639ab6adabbdb1af239c8.tar.gz
gnunet-46a63dc665f31fa7d42639ab6adabbdb1af239c8.zip
renaming GNUNET_TIME_relative_get_forever and GNUNET_TIME_absolute_get_forever methods, adding underscore, to make it clear that the respective #defines should be used instead; replacing use of direct function calls with respective macros where applicable; adding additional GNUNET_TIME_relative_get_xxx-functions to avoid calls to GNUNET_TIME_relative_multiply, which turn out to have gotten performance-relevant
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-nse-profiler.c2
-rw-r--r--src/nse/nse_profiler_test.conf30
2 files changed, 16 insertions, 16 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c
index 4748ed370..4a4bea5ed 100644
--- a/src/nse/gnunet-nse-profiler.c
+++ b/src/nse/gnunet-nse-profiler.c
@@ -896,7 +896,7 @@ run (void *cls, char *const *args, const char *cfgfile,
896 &connect_cb, &my_cb, NULL, hosts); 896 &connect_cb, &my_cb, NULL, hosts);
897 GNUNET_assert (pg != NULL); 897 GNUNET_assert (pg != NULL);
898 shutdown_handle = 898 shutdown_handle =
899 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_get_forever (), 899 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
900 &shutdown_task, NULL); 900 &shutdown_task, NULL);
901} 901}
902 902
diff --git a/src/nse/nse_profiler_test.conf b/src/nse/nse_profiler_test.conf
index 0185ed217..3a3217dbc 100644
--- a/src/nse/nse_profiler_test.conf
+++ b/src/nse/nse_profiler_test.conf
@@ -104,7 +104,7 @@ AUTOSTART = NO
104AUTOSTART = NO 104AUTOSTART = NO
105 105
106[testing] 106[testing]
107NUM_PEERS = 4000 107NUM_PEERS = 2000
108WEAKRANDOM = YES 108WEAKRANDOM = YES
109TOPOLOGY = NONE 109TOPOLOGY = NONE
110#CONNECT_TOPOLOGY = SMALL_WORLD_RING 110#CONNECT_TOPOLOGY = SMALL_WORLD_RING
@@ -122,7 +122,7 @@ HOSTKEYSFILE = hostkeys.dat
122MAX_CONCURRENT_SSH = 20 122MAX_CONCURRENT_SSH = 20
123USE_PROGRESSBARS = YES 123USE_PROGRESSBARS = YES
124PEERGROUP_TIMEOUT = 1000 s 124PEERGROUP_TIMEOUT = 1000 s
125TOPOLOGY_OUTPUT_FILE = nse_topo_4000_peers_initial 125TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers_initial
126MAX_OUTSTANDING_CONNECTIONS = 100 126MAX_OUTSTANDING_CONNECTIONS = 100
127#SINGLE_PEERINFO_PER_HOST = YES 127#SINGLE_PEERINFO_PER_HOST = YES
128#NUM_PEERINFO_PER_HOST = 10 128#NUM_PEERINFO_PER_HOST = 10
@@ -132,20 +132,20 @@ DELETE_FILES = NO
132#SKEW_VARIANCE = 30000 132#SKEW_VARIANCE = 30000
133 133
134[nse-profiler] 134[nse-profiler]
135OUTPUT_FILE = nse_output_4000_peers.dat 135OUTPUT_FILE = nse_output_2000_peers.dat
136TOPOLOGY_OUTPUT_FILE = nse_topo_4000_peers 136TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers
137DATA_OUTPUT_FILE = nse_stats_4000_peers 137DATA_OUTPUT_FILE = nse_stats_2000_peers
138ROUND0 = 1000 138ROUND0 = 1000
139#ROUND1 = 4000 139#ROUND1 = 2000
140ROUND2 = 4000 140ROUND2 = 2000
141ROUND3 = 4000 141ROUND3 = 2000
142ROUND4 = 4000 142ROUND4 = 2000
143ROUND5 = 4000 143ROUND5 = 2000
144ROUND6 = 4000 144ROUND6 = 2000
145ROUND7 = 4000 145ROUND7 = 2000
146ROUND8 = 4000 146ROUND8 = 2000
147ROUND9 = 4000 147ROUND9 = 2000
148ROUND10 = 4000 148ROUND10 = 2000
149ROUND11 = 1000 149ROUND11 = 1000
150ROUND12 = 1000 150ROUND12 = 1000
151ROUND13 = 1000 151ROUND13 = 1000