hal: Implement KeQueryPerformanceCounter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
58bb7b39fc
commit
02a5071674
|
@ -177,3 +177,13 @@ void WINAPI WRITE_PORT_ULONG(ULONG *port, ULONG value)
|
|||
{
|
||||
FIXME("(%p %d) stub!\n", port, value);
|
||||
}
|
||||
|
||||
ULONGLONG WINAPI KeQueryPerformanceCounter(LARGE_INTEGER *frequency)
|
||||
{
|
||||
LARGE_INTEGER counter;
|
||||
|
||||
TRACE("(%p)\n", frequency);
|
||||
|
||||
NtQueryPerformanceCounter(&counter, frequency);
|
||||
return counter.QuadPart;
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
@ stub KeFlushWriteBuffer
|
||||
@ stdcall KeGetCurrentIrql()
|
||||
@ stub KeLowerIrql
|
||||
@ stub KeQueryPerformanceCounter
|
||||
@ stdcall -ret64 KeQueryPerformanceCounter(ptr)
|
||||
@ stub KeRaiseIrql
|
||||
@ stub KeRaiseIrqlToDpcLevel
|
||||
@ stub KeRaiseIrqlToSynchLevel
|
||||
|
|
Loading…
Reference in New Issue