ReactOS 0.4.15-dev-8102-g108db8f
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
35 *Count = PerfCount.QuadPart;
36}
#define NULL
Definition: types.h:112
LARGE_INTEGER NTAPI KeQueryPerformanceCounter(IN PLARGE_INTEGER PerformanceFreq)
Definition: timer.c:138
int Count
Definition: noreturn.cpp:7
LONGLONG QuadPart
Definition: typedefs.h:114

◆ EngQueryPerformanceFrequency()

VOID APIENTRY EngQueryPerformanceFrequency ( LONGLONG Frequency)

Definition at line 18 of file perfcnt.c.

19{
21
23 *Frequency = Freq.QuadPart;
24}
#define Freq
Definition: deflate.h:79
static LARGE_INTEGER Frequency
Definition: clock.c:41