aboutsummaryrefslogtreecommitdiff
path: root/src/util/speedup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/speedup.c')
-rw-r--r--src/util/speedup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/speedup.c b/src/util/speedup.c
index e5f71d063..6cb8a4e05 100644
--- a/src/util/speedup.c
+++ b/src/util/speedup.c
@@ -53,6 +53,12 @@ do_speedup (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
53} 53}
54 54
55 55
56/**
57 * Start task that may speed up our system clock artificially
58 *
59 * @param cfg configuration to use
60 * @return GNUNET_OK on success, GNUNET_SYSERR if the speedup was not configured
61 */
56int 62int
57GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg) 63GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg)
58{ 64{
@@ -75,6 +81,9 @@ GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg)
75} 81}
76 82
77 83
84/**
85 * Stop tasks that modify clock behavior.
86 */
78void 87void
79GNUNET_SPEEDUP_stop_ ( ) 88GNUNET_SPEEDUP_stop_ ( )
80{ 89{