diff options
Diffstat (limited to 'src/include/portability/instr_time.h')
| -rw-r--r-- | src/include/portability/instr_time.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/portability/instr_time.h b/src/include/portability/instr_time.h index 0022025974..2d48d866fc 100644 --- a/src/include/portability/instr_time.h +++ b/src/include/portability/instr_time.h @@ -10,8 +10,8 @@ * high-precision-timing APIs on yet other platforms. * * The basic data type is instr_time, which all callers should treat as an - * opaque typedef. instr_time can store either an absolute time (of - * unspecified reference time) or an interval. The operations provided + * opaque typedef. instr_time can store either an absolute time (of + * unspecified reference time) or an interval. The operations provided * for it are: * * INSTR_TIME_IS_ZERO(t) is t equal to zero? @@ -45,7 +45,7 @@ * * Copyright (c) 2001-2009, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/portability/instr_time.h,v 1.3 2009/01/01 17:24:01 momjian Exp $ + * $PostgreSQL: pgsql/src/include/portability/instr_time.h,v 1.4 2009/06/11 14:49:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -113,8 +113,7 @@ typedef struct timeval instr_time; #define INSTR_TIME_GET_MICROSEC(t) \ (((uint64) (t).tv_sec * (uint64) 1000000) + (uint64) (t).tv_usec) - -#else /* WIN32 */ +#else /* WIN32 */ typedef LARGE_INTEGER instr_time; @@ -150,7 +149,6 @@ GetTimerFrequency(void) QueryPerformanceFrequency(&f); return (double) f.QuadPart; } - #endif /* WIN32 */ #endif /* INSTR_TIME_H */ |
