diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2005-12-16 21:55:27 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2005-12-16 21:55:27 +0000 |
commit | 42a24b64ba0b5be2b6cc7ea7ac49c405c29969b9 (patch) | |
tree | de17d4617820dcf878b8df59cd3646b90ebbc5d6 /src | |
parent | cb77a9ea533253eec0af30a12b369e2670ce7d9d (diff) | |
download | postgresql-42a24b64ba0b5be2b6cc7ea7ac49c405c29969b9.tar.gz postgresql-42a24b64ba0b5be2b6cc7ea7ac49c405c29969b9.zip |
Add a note to Win32 gettimeofday() emulation, per Qingqing Zhou.
Diffstat (limited to 'src')
-rw-r--r-- | src/port/gettimeofday.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/port/gettimeofday.c b/src/port/gettimeofday.c index a617eae65a7..58088cecb88 100644 --- a/src/port/gettimeofday.c +++ b/src/port/gettimeofday.c @@ -2,7 +2,7 @@ * gettimeofday.c * Win32 gettimeofday() replacement * - * $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.6 2005/05/16 05:52:13 neilc Exp $ + * $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.7 2005/12/16 21:55:27 alvherre Exp $ * * Copyright (c) 2003 SRA, Inc. * Copyright (c) 2003 SKC, Inc. @@ -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) |