Leaked source code of windows server 2003
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.

51 lines
729 B

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. kdcmsup.c
  5. Abstract:
  6. The module implements code to poll for a kernel debugger breakin attempt.
  7. Author:
  8. Bryan M. Willman (bryanwi) 19-Jan-92
  9. Revision History:
  10. --*/
  11. #include "kdp.h"
  12. LARGE_INTEGER
  13. KdpQueryPerformanceCounter (
  14. IN PKTRAP_FRAME TrapFrame
  15. )
  16. /*++
  17. Routine Description:
  18. This function returns the current value of the system performance
  19. counter.
  20. Arguments:
  21. None.
  22. Return Value:
  23. The value returned by KeQueryPerformanceCounter is returned as the
  24. function value.
  25. --*/
  26. {
  27. UNREFERENCED_PARAMETER (TrapFrame);
  28. return KeQueryPerformanceCounter(0);
  29. }