summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-23 00:15:57 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-23 00:15:57 +0200
commitf3bbbd0fd377e856a27a2ed4f57ac042d620662f (patch)
treef7a0d0d9bc1d0a9117537448000580db2e78b265 /src
parentf753ef2a23c0c42e5ad35a36327a9fda2e4f2d98 (diff)
rtclock: document that we fallback to wallclock time if monotonic time is not supported
Diffstat (limited to 'src')
-rw-r--r--src/pulse/rtclock.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pulse/rtclock.h b/src/pulse/rtclock.h
index eeea6251..6459d92d 100644
--- a/src/pulse/rtclock.h
+++ b/src/pulse/rtclock.h
@@ -27,11 +27,13 @@
#include <pulse/gccmacro.h>
/** \file
- * Monotonic clock utility. */
+ * Monotonic clock utilities. */
PA_C_DECL_BEGIN
-/** Return the current CLOCK_MONOTONIC time in usec. \since 0.9.16 */
+/** Return the current monotonic system time in usec, if such a clock
+ * is available. If it is not available this will return the
+ * wallclock time instead. \since 0.9.16 */
pa_usec_t pa_rtclock_now(void);
PA_C_DECL_END