Commit 0d0ad163 authored by Rafaël Carré's avatar Rafaël Carré

mdate(): update comment

parent 1266cca8
...@@ -161,8 +161,9 @@ static volatile mtime_t cached_time = 0; ...@@ -161,8 +161,9 @@ static volatile mtime_t cached_time = 0;
/** /**
* Return high precision date * Return high precision date
* *
* Uses the gettimeofday() function when possible (1 MHz resolution) or the * Use a 1 MHz clock when possible, or 1 kHz
* ftime() function (1 kHz resolution). *
* 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 ) mtime_t mdate( void )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment