mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 11:35:58 +00:00
057a69972f
CORE-8176 #resolve #comment Trunk commit r63174 should fix this issue. I merged from trunk to bring it into Shell-experiments. svn path=/branches/shell-experiments/; revision=63175
37 lines
696 B
C
37 lines
696 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* PURPOSE: GDI Driver Performance Counter Functions
|
|
* FILE: subsys/win32k/eng/perfcnt.c
|
|
* PROGRAMER: Ge van Geldorp
|
|
*/
|
|
|
|
#include <win32k.h>
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
VOID APIENTRY
|
|
EngQueryPerformanceFrequency(LONGLONG *Frequency)
|
|
{
|
|
LARGE_INTEGER Freq;
|
|
|
|
KeQueryPerformanceCounter(&Freq);
|
|
*Frequency = Freq.QuadPart;
|
|
}
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
VOID APIENTRY
|
|
EngQueryPerformanceCounter(LONGLONG *Count)
|
|
{
|
|
LARGE_INTEGER PerfCount;
|
|
|
|
PerfCount = KeQueryPerformanceCounter(NULL);
|
|
*Count = PerfCount.QuadPart;
|
|
}
|