mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Added cache flush counters.
svn path=/trunk/; revision=3307
This commit is contained in:
parent
410b3629c3
commit
5295bac977
4 changed files with 14 additions and 7 deletions
|
@ -54,12 +54,17 @@ typedef struct _LOADER_PARAMETER_BLOCK
|
||||||
#ifdef __NTOSKRNL__
|
#ifdef __NTOSKRNL__
|
||||||
extern CHAR EXPORTED KeNumberProcessors;
|
extern CHAR EXPORTED KeNumberProcessors;
|
||||||
extern LOADER_PARAMETER_BLOCK EXPORTED KeLoaderBlock;
|
extern LOADER_PARAMETER_BLOCK EXPORTED KeLoaderBlock;
|
||||||
|
extern ULONG EXPORTED KeDcacheFlushCount;
|
||||||
|
extern ULONG EXPORTED KeIcacheFlushCount;
|
||||||
#else
|
#else
|
||||||
extern CHAR IMPORTED KeNumberProcessors;
|
extern CHAR IMPORTED KeNumberProcessors;
|
||||||
extern LOADER_PARAMETER_BLOCK IMPORTED KeLoaderBlock;
|
extern LOADER_PARAMETER_BLOCK IMPORTED KeLoaderBlock;
|
||||||
|
extern ULONG EXPORTED KeDcacheFlushCount;
|
||||||
|
extern ULONG EXPORTED KeIcacheFlushCount;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
struct _KMUTANT;
|
struct _KMUTANT;
|
||||||
|
|
||||||
typedef LONG KPRIORITY;
|
typedef LONG KPRIORITY;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: main.c,v 1.131 2002/07/20 21:49:35 dwelch Exp $
|
/* $Id: main.c,v 1.132 2002/07/29 15:27:59 ekohl Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/main.c
|
* FILE: ntoskrnl/ke/main.c
|
||||||
|
@ -63,6 +63,8 @@ ULONG EXPORTED NtBuildNumber = KERNEL_VERSION_BUILD;
|
||||||
ULONG EXPORTED NtGlobalFlag = 0;
|
ULONG EXPORTED NtGlobalFlag = 0;
|
||||||
CHAR EXPORTED KeNumberProcessors;
|
CHAR EXPORTED KeNumberProcessors;
|
||||||
LOADER_PARAMETER_BLOCK EXPORTED KeLoaderBlock;
|
LOADER_PARAMETER_BLOCK EXPORTED KeLoaderBlock;
|
||||||
|
ULONG EXPORTED KeDcacheFlushCount = 0;
|
||||||
|
ULONG EXPORTED KeIcacheFlushCount = 0;
|
||||||
static LOADER_MODULE KeLoaderModules[64];
|
static LOADER_MODULE KeLoaderModules[64];
|
||||||
static UCHAR KeLoaderModuleStrings[64][256];
|
static UCHAR KeLoaderModuleStrings[64][256];
|
||||||
static UCHAR KeLoaderCommandLine[256];
|
static UCHAR KeLoaderCommandLine[256];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $Id: ntoskrnl.def,v 1.139 2002/07/27 13:02:37 ekohl Exp $
|
; $Id: ntoskrnl.def,v 1.140 2002/07/29 15:29:58 ekohl Exp $
|
||||||
;
|
;
|
||||||
; reactos/ntoskrnl/ntoskrnl.def
|
; reactos/ntoskrnl/ntoskrnl.def
|
||||||
;
|
;
|
||||||
|
@ -345,7 +345,7 @@ KeBugCheckEx@20
|
||||||
KeCancelTimer@4
|
KeCancelTimer@4
|
||||||
KeClearEvent@4
|
KeClearEvent@4
|
||||||
KeConnectInterrupt@4
|
KeConnectInterrupt@4
|
||||||
;KeDcacheFlushCount DATA
|
KeDcacheFlushCount DATA
|
||||||
KeDelayExecutionThread@12
|
KeDelayExecutionThread@12
|
||||||
KeDeregisterBugCheckCallback@4
|
KeDeregisterBugCheckCallback@4
|
||||||
KeDetachProcess@0
|
KeDetachProcess@0
|
||||||
|
@ -367,7 +367,7 @@ KeGetPreviousMode@0
|
||||||
;KeI386ReleaseGdtSelectors
|
;KeI386ReleaseGdtSelectors
|
||||||
;KeI386ReleaseLid
|
;KeI386ReleaseLid
|
||||||
;KeI386SetGdtSelector
|
;KeI386SetGdtSelector
|
||||||
;KeIcacheFlushCount DATA
|
KeIcacheFlushCount DATA
|
||||||
KeInitializeApc@32
|
KeInitializeApc@32
|
||||||
KeInitializeDeviceQueue@4
|
KeInitializeDeviceQueue@4
|
||||||
KeInitializeDpc@12
|
KeInitializeDpc@12
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $Id: ntoskrnl.edf,v 1.125 2002/07/27 13:02:37 ekohl Exp $
|
; $Id: ntoskrnl.edf,v 1.126 2002/07/29 15:29:58 ekohl Exp $
|
||||||
;
|
;
|
||||||
; reactos/ntoskrnl/ntoskrnl.def
|
; reactos/ntoskrnl/ntoskrnl.def
|
||||||
;
|
;
|
||||||
|
@ -345,7 +345,7 @@ KeBugCheckEx=KeBugCheckEx@20
|
||||||
KeCancelTimer=KeCancelTimer@4
|
KeCancelTimer=KeCancelTimer@4
|
||||||
KeClearEvent=KeClearEvent@4
|
KeClearEvent=KeClearEvent@4
|
||||||
KeConnectInterrupt=KeConnectInterrupt@4
|
KeConnectInterrupt=KeConnectInterrupt@4
|
||||||
;KeDcacheFlushCount DATA
|
KeDcacheFlushCount DATA
|
||||||
KeDelayExecutionThread=KeDelayExecutionThread@12
|
KeDelayExecutionThread=KeDelayExecutionThread@12
|
||||||
KeDeregisterBugCheckCallback=KeDeregisterBugCheckCallback@4
|
KeDeregisterBugCheckCallback=KeDeregisterBugCheckCallback@4
|
||||||
KeDetachProcess=KeDetachProcess@0
|
KeDetachProcess=KeDetachProcess@0
|
||||||
|
@ -367,7 +367,7 @@ KeGetPreviousMode=KeGetPreviousMode@0
|
||||||
;KeI386ReleaseGdtSelectors
|
;KeI386ReleaseGdtSelectors
|
||||||
;KeI386ReleaseLid
|
;KeI386ReleaseLid
|
||||||
;KeI386SetGdtSelector
|
;KeI386SetGdtSelector
|
||||||
;KeIcacheFlushCount DATA
|
KeIcacheFlushCount DATA
|
||||||
KeInitializeApc=KeInitializeApc@32
|
KeInitializeApc=KeInitializeApc@32
|
||||||
KeInitializeDeviceQueue=KeInitializeDeviceQueue@4
|
KeInitializeDeviceQueue=KeInitializeDeviceQueue@4
|
||||||
KeInitializeDpc=KeInitializeDpc@12
|
KeInitializeDpc=KeInitializeDpc@12
|
||||||
|
|
Loading…
Reference in a new issue