aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_common_logging_runtime_loglevels.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-18 09:33:36 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-18 09:33:36 +0000
commit93bfa19afe98d3cc43606201a560437f465774e0 (patch)
tree770b76bb8967e02a280e2fdd67bc8b372a5bc93c /src/util/test_common_logging_runtime_loglevels.c
parent2a273db5b90374750b73823bb08bea8dcd6e597b (diff)
downloadgnunet-93bfa19afe98d3cc43606201a560437f465774e0.tar.gz
gnunet-93bfa19afe98d3cc43606201a560437f465774e0.zip
-pi can be slower than this (see build 1241)
Diffstat (limited to 'src/util/test_common_logging_runtime_loglevels.c')
-rw-r--r--src/util/test_common_logging_runtime_loglevels.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c
index 14055e11f..676cbe14f 100644
--- a/src/util/test_common_logging_runtime_loglevels.c
+++ b/src/util/test_common_logging_runtime_loglevels.c
@@ -30,15 +30,15 @@
30 30
31/** 31/**
32 * How much time the child is allowed to waste on skipped log calls, at most. 32 * How much time the child is allowed to waste on skipped log calls, at most.
33 * Raspberry Pi takes 33 microseconds tops, this is 3x that value. 33 * Raspberry Pi takes 113 microseconds tops, this is 3x that value.
34 */ 34 */
35#define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 100).rel_value_us 35#define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 400).rel_value_us
36 36
37/** 37/**
38 * How much time non-skipped log call should take, at least. 38 * How much time non-skipped log call should take, at least.
39 * Keep in sync with the value in the dummy! 39 * Keep in sync with the value in the dummy!
40 */ 40 */
41#define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 200).rel_value_us 41#define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 1000).rel_value_us
42 42
43static int ok; 43static int ok;
44 44