ReactOS 0.4.15-dev-8102-g108db8f
perfcnt.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * PURPOSE: GDI Driver Performance Counter Functions
5 * FILE: win32ss/gdi/eng/perfcnt.c
6 * PROGRAMER: Ge van Geldorp
7 */
8
9#include <win32k.h>
10
11#define NDEBUG
12#include <debug.h>
13
14/*
15 * @implemented
16 */
19{
21
23 *Frequency = Freq.QuadPart;
24}
25
26/*
27 * @implemented
28 */
31{
32 LARGE_INTEGER PerfCount;
33
35 *Count = PerfCount.QuadPart;
36}
#define Freq
Definition: deflate.h:79
#define NULL
Definition: types.h:112
#define APIENTRY
Definition: api.h:79
LARGE_INTEGER NTAPI KeQueryPerformanceCounter(IN PLARGE_INTEGER PerformanceFreq)
Definition: timer.c:138
int Count
Definition: noreturn.cpp:7
static LARGE_INTEGER Frequency
Definition: clock.c:41
int64_t LONGLONG
Definition: typedefs.h:68
LONGLONG QuadPart
Definition: typedefs.h:114
VOID APIENTRY EngQueryPerformanceFrequency(LONGLONG *Frequency)
Definition: perfcnt.c:18
VOID APIENTRY EngQueryPerformanceCounter(LONGLONG *Count)
Definition: perfcnt.c:30