ReactOS
0.4.16-dev-306-g647d351
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
*/
17
VOID
APIENTRY
18
EngQueryPerformanceFrequency
(
LONGLONG
*
Frequency
)
19
{
20
LARGE_INTEGER
Freq
;
21
22
KeQueryPerformanceCounter
(&
Freq
);
23
*
Frequency
=
Freq
.QuadPart;
24
}
25
26
/*
27
* @implemented
28
*/
29
VOID
APIENTRY
30
EngQueryPerformanceCounter
(
LONGLONG
*
Count
)
31
{
32
LARGE_INTEGER
PerfCount;
33
34
PerfCount =
KeQueryPerformanceCounter
(
NULL
);
35
*
Count
= PerfCount.
QuadPart
;
36
}
Freq
#define Freq
Definition:
deflate.h:79
NULL
#define NULL
Definition:
types.h:112
APIENTRY
#define APIENTRY
Definition:
api.h:79
KeQueryPerformanceCounter
LARGE_INTEGER NTAPI KeQueryPerformanceCounter(IN PLARGE_INTEGER PerformanceFreq)
Definition:
timer.c:138
void
Definition:
nsiface.idl:2307
Count
int Count
Definition:
noreturn.cpp:7
Frequency
static LARGE_INTEGER Frequency
Definition:
clock.c:41
LONGLONG
int64_t LONGLONG
Definition:
typedefs.h:68
_LARGE_INTEGER
Definition:
typedefs.h:103
_LARGE_INTEGER::QuadPart
LONGLONG QuadPart
Definition:
typedefs.h:114
win32k.h
EngQueryPerformanceFrequency
VOID APIENTRY EngQueryPerformanceFrequency(LONGLONG *Frequency)
Definition:
perfcnt.c:18
EngQueryPerformanceCounter
VOID APIENTRY EngQueryPerformanceCounter(LONGLONG *Count)
Definition:
perfcnt.c:30
win32ss
gdi
eng
perfcnt.c
Generated on Mon Dec 2 2024 06:17:05 for ReactOS by
1.9.6