Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 42a24b6

Browse files
committed
Add a note to Win32 gettimeofday() emulation, per Qingqing Zhou.
1 parent cb77a9e commit 42a24b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/port/gettimeofday.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* gettimeofday.c
33
* Win32 gettimeofday() replacement
44
*
5-
* $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.6 2005/05/16 05:52:13 neilc Exp $
5+
* $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.7 2005/12/16 21:55:27 alvherre Exp $
66
*
77
* Copyright (c) 2003 SRA, Inc.
88
* Copyright (c) 2003 SKC, Inc.
@@ -36,6 +36,9 @@ static const unsigned __int64 epoch = 116444736000000000L;
3636

3737
/*
3838
* timezone information is stored outside the kernel so tzp isn't used anymore.
39+
*
40+
* Note: this function is not for Win32 high precision timing purpose. See
41+
* elapsed_time().
3942
*/
4043
int
4144
gettimeofday(struct timeval * tp, struct timezone * tzp)

0 commit comments

Comments
 (0)