mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
638 B
50 lines
638 B
/*++
|
|
|
|
Copyright (c) 1992 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
kdcmsup.c
|
|
|
|
Abstract:
|
|
|
|
The module implements code to poll for a kernel debugger breakin attempt.
|
|
|
|
Author:
|
|
|
|
Bryan M. Willman (bryanwi) 19-Jan-92
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#include "kdp.h"
|
|
|
|
LARGE_INTEGER
|
|
KdpQueryPerformanceCounter (
|
|
IN PKTRAP_FRAME TrapFrame
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function returns the current value of the system performance
|
|
counter.
|
|
|
|
Arguments:
|
|
|
|
None.
|
|
|
|
Return Value:
|
|
|
|
The value returned by KeQueryPerformanceCounter is returned as the
|
|
function value.
|
|
|
|
--*/
|
|
|
|
{
|
|
|
|
return KeQueryPerformanceCounter(0);
|
|
}
|
|
|