00001 /*++ 00002 00003 Copyright (c) 1992 Microsoft Corporation 00004 00005 Module Name: 00006 00007 kdcmsup.c 00008 00009 Abstract: 00010 00011 The module implements code to poll for a kernel debugger breakin attempt. 00012 00013 Author: 00014 00015 Bryan M. Willman (bryanwi) 19-Jan-92 00016 00017 Revision History: 00018 00019 --*/ 00020 00021 #include "kdp.h" 00022 00023 LARGE_INTEGER 00024 KdpQueryPerformanceCounter ( 00025 IN PKTRAP_FRAME TrapFrame 00026 ) 00027 00028 /*++ 00029 00030 Routine Description: 00031 00032 This function returns the current value of the system performance 00033 counter. 00034 00035 Arguments: 00036 00037 None. 00038 00039 Return Value: 00040 00041 The value returned by KeQueryPerformanceCounter is returned as the 00042 function value. 00043 00044 --*/ 00045 00046 { 00047 00048 return KeQueryPerformanceCounter(0); 00049 }