]> git.sesse.net Git - vlc/commitdiff
mdate(): update comment
authorRafaël Carré <funman@videolan.org>
Tue, 15 Jan 2008 13:41:45 +0000 (13:41 +0000)
committerRafaël Carré <funman@videolan.org>
Tue, 15 Jan 2008 13:41:45 +0000 (13:41 +0000)
src/misc/mtime.c

index 91c7187f91eb842e661ae06ef396cac8b74000fa..5a019c0950a0802bcc19ffbeb0d18bdaf97c7f9d 100644 (file)
@@ -161,8 +161,9 @@ static volatile mtime_t cached_time = 0;
 /**
  * Return high precision date
  *
- * Uses the gettimeofday() function when possible (1 MHz resolution) or the
- * ftime() function (1 kHz resolution).
+ * Use a 1 MHz clock when possible, or 1 kHz
+ *
+ * Beware ! It doesn't reflect the actual date (since epoch), but can be the machine's uptime or anything (when monotonic clock is used)
  */
 mtime_t mdate( void )
 {