ReactOS 0.4.15-dev-8135-g1bc6c90
GetTickCount64.c File Reference
#include "k32_vista.h"
Include dependency graph for GetTickCount64.c:

Go to the source code of this file.

Functions

ULONGLONG WINAPI GetTickCount64 (VOID)
 

Function Documentation

◆ GetTickCount64()

ULONGLONG WINAPI GetTickCount64 ( VOID  )

Definition at line 9 of file GetTickCount64.c.

10{
11 ULARGE_INTEGER TickCount;
12
13 while (TRUE)
14 {
15 TickCount.HighPart = (ULONG)SharedUserData->TickCount.High1Time;
16 TickCount.LowPart = SharedUserData->TickCount.LowPart;
17
18 if (TickCount.HighPart == (ULONG)SharedUserData->TickCount.High2Time) break;
19
21 }
22
23 return (UInt32x32To64(TickCount.LowPart, SharedUserData->TickCountMultiplier) >> 24) +
24 (UInt32x32To64(TickCount.HighPart, SharedUserData->TickCountMultiplier) << 8);
25}
#define TRUE
Definition: types.h:120
#define UInt32x32To64(a, b)
Definition: intsafe.h:252
if(dx< 0)
Definition: linetemp.h:194
#define YieldProcessor
Definition: ke.h:48
#define SharedUserData
$ULONG LowPart
Definition: ntbasedef.h:569
$ULONG HighPart
Definition: ntbasedef.h:570
uint32_t ULONG
Definition: typedefs.h:59

Referenced by cache_connection(), collect_connections(), collect_uptime(), connection_collector(), DllMain(), downloadcb_OnProgress(), InstallEngineTiming_GetInstallProgress(), ITERATE_StartService(), nfs41_client_owner(), nfs41_session_bad_slot(), nfs41_session_bump_seq(), nfs41_session_recall_slot(), SnmpSvcGetUptime(), start_rpcss(), and UpdateLanStatusUiDlg().