summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2005-12-16 21:55:27 +0000
committerAlvaro Herrera2005-12-16 21:55:27 +0000
commit47aba9c1c9f4c0cc392aedf0b71664bcc6584b80 (patch)
tree9a4a586847c6fb66cb0ab61ac63acaf3e5c0e055
parent4a55360e5065bdd023454299e82675045e5004be (diff)
Add a note to Win32 gettimeofday() emulation, per Qingqing Zhou.
-rw-r--r--src/port/gettimeofday.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/gettimeofday.c b/src/port/gettimeofday.c
index d84b898359..fbf19cf235 100644
--- a/src/port/gettimeofday.c
+++ b/src/port/gettimeofday.c
@@ -36,6 +36,9 @@ static const unsigned __int64 epoch = 116444736000000000L;
/*
* timezone information is stored outside the kernel so tzp isn't used anymore.
+ *
+ * Note: this function is not for Win32 high precision timing purpose. See
+ * elapsed_time().
*/
int
gettimeofday(struct timeval * tp, struct timezone * tzp)