ReactOS  0.4.13-dev-259-g5ca9c9c
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
$ULONG LowPart
Definition: ntbasedef.h:576
FORCEINLINE VOID YieldProcessor(VOID)
Definition: ke.h:32
$ULONG HighPart
Definition: ntbasedef.h:577
if(!(yy_init))
Definition: macro.lex.yy.c:714
#define SharedUserData
unsigned int ULONG
Definition: retypes.h:1
#define UInt32x32To64(a, b)
Definition: intsafe.h:258

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().