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

/****************************************************************************/
/* Copyright(C) Microsoft Corporation 1998 */
/****************************************************************************/
/****************************************************************************/
/* */
/* CPU Cycle counter */
/* */
/****************************************************************************/
#include <acpudefs.h>
#if defined(OS_WIN32) && !defined(DC_DEBUG) && defined(_M_IX86) && defined(PERF)
/****************************************************************************/
/* */
/* CPU Cycle counter macros */
/* */
/****************************************************************************/
/****************************************************************************/
/* variables used to store the count */
/****************************************************************************/
DC_GL_EXT unsigned long callCount [MAX_FNS];
DC_GL_EXT unsigned long cycleCountHi [MAX_FNS];
DC_GL_EXT unsigned long cycleCountLo [MAX_FNS];
#endif