From: Lennart Poettering Date: Mon, 22 Jun 2009 22:15:57 +0000 (+0200) Subject: rtclock: document that we fallback to wallclock time if monotonic time is not supported X-Git-Tag: v0.9.16-test1~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3bbbd0fd377e856a27a2ed4f57ac042d620662f;p=platform%2Fupstream%2Fpulseaudio.git rtclock: document that we fallback to wallclock time if monotonic time is not supported --- diff --git a/src/pulse/rtclock.h b/src/pulse/rtclock.h index eeea625..6459d92 100644 --- a/src/pulse/rtclock.h +++ b/src/pulse/rtclock.h @@ -27,11 +27,13 @@ #include /** \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