gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r31507 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r31507 - gnunet/src/util
Date: Wed, 18 Dec 2013 10:33:36 +0100

Author: grothoff
Date: 2013-12-18 10:33:36 +0100 (Wed, 18 Dec 2013)
New Revision: 31507

Modified:
   gnunet/src/util/test_common_logging_dummy.c
   gnunet/src/util/test_common_logging_runtime_loglevels.c
Log:
-pi can be slower than this (see build 1241)

Modified: gnunet/src/util/test_common_logging_dummy.c
===================================================================
--- gnunet/src/util/test_common_logging_dummy.c 2013-12-18 09:09:11 UTC (rev 
31506)
+++ gnunet/src/util/test_common_logging_dummy.c 2013-12-18 09:33:36 UTC (rev 
31507)
@@ -35,7 +35,7 @@
  * This must be long enough for us to not to mistake skipped log call
  * on a slow machine for a non-skipped one.
  */
-#define OUTPUT_DELAY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_MICROSECONDS, 200)
+#define OUTPUT_DELAY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_MICROSECONDS, 1000)
 
 static void
 my_log (void *ctx, enum GNUNET_ErrorType kind, const char *component,

Modified: gnunet/src/util/test_common_logging_runtime_loglevels.c
===================================================================
--- gnunet/src/util/test_common_logging_runtime_loglevels.c     2013-12-18 
09:09:11 UTC (rev 31506)
+++ gnunet/src/util/test_common_logging_runtime_loglevels.c     2013-12-18 
09:33:36 UTC (rev 31507)
@@ -30,15 +30,15 @@
 
 /**
  * How much time the child is allowed to waste on skipped log calls, at most.
- * Raspberry Pi takes 33 microseconds tops, this is 3x that value.
+ * Raspberry Pi takes 113 microseconds tops, this is 3x that value.
  */
-#define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_MICROSECONDS, 100).rel_value_us
+#define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_MICROSECONDS, 400).rel_value_us
 
 /**
  * How much time non-skipped log call should take, at least.
  * Keep in sync with the value in the dummy!
  */
-#define OUTPUT_DELAY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_MICROSECONDS, 200).rel_value_us
+#define OUTPUT_DELAY GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_MICROSECONDS, 1000).rel_value_us
 
 static int ok;
 




reply via email to

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