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.

26 lines
1.5 KiB

  1. /****************************************************************************/
  2. /* Copyright(C) Microsoft Corporation 1998 */
  3. /****************************************************************************/
  4. /****************************************************************************/
  5. /* */
  6. /* CPU Cycle counter */
  7. /* */
  8. /****************************************************************************/
  9. #include <acpudefs.h>
  10. #if defined(OS_WIN32) && !defined(DC_DEBUG) && defined(_M_IX86) && defined(PERF)
  11. /****************************************************************************/
  12. /* */
  13. /* CPU Cycle counter macros */
  14. /* */
  15. /****************************************************************************/
  16. /****************************************************************************/
  17. /* variables used to store the count */
  18. /****************************************************************************/
  19. DC_GL_EXT unsigned long callCount [MAX_FNS];
  20. DC_GL_EXT unsigned long cycleCountHi [MAX_FNS];
  21. DC_GL_EXT unsigned long cycleCountLo [MAX_FNS];
  22. #endif