ReactOS  0.4.14-dev-49-gfb4591c
perfcnt.c File Reference
#include <win32k.h>
#include <debug.h>
Include dependency graph for perfcnt.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

VOID APIENTRY EngQueryPerformanceFrequency (LONGLONG *Frequency)
 
VOID APIENTRY EngQueryPerformanceCounter (LONGLONG *Count)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file perfcnt.c.

Function Documentation

◆ EngQueryPerformanceCounter()

VOID APIENTRY EngQueryPerformanceCounter ( LONGLONG Count)

Definition at line 30 of file perfcnt.c.

31 {
32  LARGE_INTEGER PerfCount;
33 
34  PerfCount = KeQueryPerformanceCounter(NULL);
35  *Count = PerfCount.QuadPart;
36 }
LARGE_INTEGER NTAPI KeQueryPerformanceCounter(IN PLARGE_INTEGER PerformanceFreq)
Definition: timer.c:138
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
smooth NULL
Definition: ftsmooth.c:416
LONGLONG QuadPart
Definition: typedefs.h:112

◆ EngQueryPerformanceFrequency()

VOID APIENTRY EngQueryPerformanceFrequency ( LONGLONG Frequency)

Definition at line 18 of file perfcnt.c.

19 {
21 
23  *Frequency = Freq.QuadPart;
24 }
LARGE_INTEGER NTAPI KeQueryPerformanceCounter(IN PLARGE_INTEGER PerformanceFreq)
Definition: timer.c:138
#define Freq
Definition: deflate.h:79
static LARGE_INTEGER Frequency
Definition: clock.c:41