aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-02-21 17:48:22 +0000
committerBart Polot <bart@net.in.tum.de>2013-02-21 17:48:22 +0000
commit61a90151e5e0a1efac9770be1a817fa9411f167b (patch)
tree1dd2bf12bdd13448bf6b0a31f6d4a3be53369f34 /src
parentd0d8c2ef267acbf339f27cb2277ed49beeb0afbb (diff)
downloadgnunet-61a90151e5e0a1efac9770be1a817fa9411f167b.tar.gz
gnunet-61a90151e5e0a1efac9770be1a817fa9411f167b.zip
- not error
Diffstat (limited to 'src')
-rw-r--r--src/regex/gnunet-regex-profiler.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c
index e42322516..1d3b030be 100644
--- a/src/regex/gnunet-regex-profiler.c
+++ b/src/regex/gnunet-regex-profiler.c
@@ -449,7 +449,7 @@ stats_connect_cb (void *cls,
449 449
450 450
451/** 451/**
452 * Task to collect all statistics from all peers, will shutdown the 452 * Task to collect all statistics from s, will shutdown the
453 * profiler, when done. 453 * profiler, when done.
454 * 454 *
455 * @param cls NULL 455 * @param cls NULL
@@ -1080,7 +1080,7 @@ arm_start_cb (void *cls, enum GNUNET_ARM_ProcessStatus result)
1080 next_p = (++peer_cnt % num_peers); 1080 next_p = (++peer_cnt % num_peers);
1081 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply( 1081 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply(
1082 GNUNET_TIME_UNIT_MILLISECONDS, 1082 GNUNET_TIME_UNIT_MILLISECONDS,
1083 200), 1083 400),
1084 &announce_next_regex, 1084 &announce_next_regex,
1085 (void *) (long) next_p); 1085 (void *) (long) next_p);
1086 } 1086 }
@@ -1386,9 +1386,8 @@ peer_churn_cb (void *cls, const char *emsg)
1386 if (++started_peers == num_peers) 1386 if (++started_peers == num_peers)
1387 { 1387 {
1388 prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time); 1388 prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time);
1389 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1389 printf("All peers started successfully in %s\n",
1390 "All peers started successfully in %s\n", 1390 GNUNET_STRINGS_relative_time_to_string (prof_time, GNUNET_NO));
1391 GNUNET_STRINGS_relative_time_to_string (prof_time, GNUNET_NO));
1392 result = GNUNET_OK; 1391 result = GNUNET_OK;
1393 1392
1394 peer_handles = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_Peer *) * num_peers); 1393 peer_handles = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_Peer *) * num_peers);
@@ -1447,9 +1446,8 @@ peer_create_cb (void *cls, struct GNUNET_TESTBED_Peer *peer, const char *emsg)
1447 if (++created_peers == num_peers) 1446 if (++created_peers == num_peers)
1448 { 1447 {
1449 prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time); 1448 prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time);
1450 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1449 printf ("All peers created successfully in %s\n",
1451 "All peers created successfully in %s\n", 1450 GNUNET_STRINGS_relative_time_to_string (prof_time, GNUNET_NO));
1452 GNUNET_STRINGS_relative_time_to_string (prof_time, GNUNET_NO));
1453 /* Now peers are to be started */ 1451 /* Now peers are to be started */
1454 state = STATE_PEERS_STARTING; 1452 state = STATE_PEERS_STARTING;
1455 prof_start_time = GNUNET_TIME_absolute_get (); 1453 prof_start_time = GNUNET_TIME_absolute_get ();