PostgreSQL Source Code git master
|
Go to the source code of this file.
Macros | |
#define | FILETIME_UNITS_PER_SEC 10000000L |
#define | FILETIME_UNITS_PER_USEC 10 |
Functions | |
int | gettimeofday (struct timeval *tp, void *tzp) |
Variables | |
static const unsigned __int64 | epoch = UINT64CONST(116444736000000000) |
#define FILETIME_UNITS_PER_SEC 10000000L |
Definition at line 42 of file win32gettimeofday.c.
#define FILETIME_UNITS_PER_USEC 10 |
Definition at line 43 of file win32gettimeofday.c.
int gettimeofday | ( | struct timeval * | tp, |
void * | tzp | ||
) |
Definition at line 53 of file win32gettimeofday.c.
References Assert, epoch, FILETIME_UNITS_PER_SEC, and FILETIME_UNITS_PER_USEC.
Referenced by basic_archive_file(), BootStrapXLOG(), feGetCurrentTimestamp(), get_formatted_log_time(), get_real_time_ns_ascending(), GetCurrentTimestamp(), GuessControlValues(), IsCheckpointOnSchedule(), libpq_prng_init(), log_status_format(), main(), make_outputdirs(), modify_subscriber_sysid(), PerformRadiusTransaction(), pg_rusage_init(), PQgetCurrentTimeUSec(), pqTraceFormatTimestamp(), ResetUsage(), run_permutation(), ShowUsage(), timeofday(), and try_complete_step().
|
static |
Definition at line 36 of file win32gettimeofday.c.
Referenced by AdvanceNextFullTransactionIdPastXid(), basic_archive_file(), FullTransactionIdFromCurrentEpoch(), FullTransactionIdFromEpochAndXid(), GetEpochTime(), gettimeofday(), PrescanPreparedTransactions(), RecoverPreparedTransactions(), StandbyRecoverPreparedTransactions(), timestamp_part_common(), timestamptz_part_common(), TransactionIdInRecentPast(), widen_snapshot_xid(), and XLogRecGetFullXid().