C:\krview>Kernrate_i386_XP -a -p 0001 -z ntoskrnl ---> Profiling both Kernel and User Modes KERNRATE: OpenProcess Pid= (1) failed - it could be just gone 87 KERNRATE: Could not initialize for specified process (PID= 1) process may be gone or wrong PID specified /==============================\ < KERNRATE LOG > \==============================/ Date: 2025/08/11 Time: 20:23:49 Machine Name: NOT AVAILABLE Number of Processors: 1 PROCESSOR_ARCHITECTURE: x86 PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 0702 Physical Memory: 384 MB Pagefile Total: 958 MB Virtual Total: 2047 MB PageFile1: (null), 575MB OS Version: 5.2 Build 3790 Service-Pack: 2.0 WinDir: C:\ReactOS Kernrate User-Specified Command Line: Kernrate_i386_XP -a -p 0001 -z ntoskrnl Kernel Profile (PID = 0): Source=, Time, Tried Using Kernrate Default Rate of 25000 events/hit, Actual Rate= 19532 events /hit CallBack: Finished Attempt to Load symbols for 80400000 multi(0)disk(0)rdisk(0)p artition(1)\ReactOS\system32\ntoskrnl.exe Starting to collect profile data ***> Press ctrl-c to finish collecting profile data ===> Finished Collecting Data, Starting to Process Results ------------Overall Summary:-------------- P0 K 0:00:22.177 (84.1%) U 0:00:02.924 (11.1%) I 0:00:01.274 ( 4.8%) DPC 0:00:00.119 ( 0.5%) Interrupt 0:00:00.209 ( 0.8%) Interrupts= 4061, Interrupt Rate= 154/sec. Total Profile Time = 26376 msec BytesStart BytesStop Byt esDiff. Available Physical Memory , 253100032, 245125120, -7974 912 Available Pagefile(s) , 920092672, 915730432, -4362 240 Available Virtual , 2126860288, 2125602816, -1257 472 Available Extended Virtual , 0, 0, 0 Total Avg. Rate Context Switches , 15386, 583/sec. System Calls , 119191, 4519/sec. Page Faults , 0, 0/sec. I/O Read Operations , 120, 5/sec. I/O Write Operations , 0, 0/sec. I/O Other Operations , 387, 15/sec. I/O Read Bytes , 10924, 91/ I/O I/O Write Bytes , 0, 0/ I/O I/O Other Bytes , 9561, 25/ I/O ----------------------------- Results for Kernel Mode: ----------------------------- OutputResults: KernelModuleCount = 55 Percentage in the following table is based on the Total Hits for the Kernel Time 11509 hits, 19532 events per hit -------- Module Hits msec %Total Events/Sec ntoskrnl 4907 26376 42 % 3633739 nv4_disp 3397 26376 29 % 2515552 win32k 1766 26376 15 % 1307761 hal 1088 26376 9 % 805687 ftfd 263 26376 2 % 194757 nv4_mini 59 26376 0 % 43690 VIDEOPRT 7 26376 0 % 5183 classpnp 4 26376 0 % 2962 usbuhci 3 26376 0 % 2221 fastfat 3 26376 0 % 2221 usbport 3 26376 0 % 2221 tcpip 2 26376 0 % 1481 i8042prt 2 26376 0 % 1481 scsiport 2 26376 0 % 1481 mouclass 1 26376 0 % 740 kbdclass 1 26376 0 % 740 uniata 1 26376 0 % 740 ===> Processing Zoomed Module ntoskrnl.exe... ----- Zoomed module ntoskrnl.exe (Bucket size = 16 bytes, Rounding Down) ------- - Percentage in the following table is based on the Total Hits for this Zoom Modul e Time 4907 hits, 19532 events per hit -------- Module Hits msec %Total Events/Sec ExQueryPoolBlockSize 2007 26376 40 % 1486227 KdSystemDebugControl 525 26376 10 % 388773 ExAllocatePoolWithTag 297 26376 5 % 219934 NtVdmControl 271 26376 5 % 200681 ExFreePoolWithTag 166 26376 3 % 122926 KiEoiHelper 146 26376 2 % 108116 CcGetFileObjectFromSectionPtrs 113 26376 2 % 83678 KeInvalidateAllCaches 104 26376 2 % 77014 RtlNumberOfSetBits 76 26376 1 % 56279 ExAcquireResourceExclusiveLite 71 26376 1 % 52577 ExReleaseResourceForThreadLite 69 26376 1 % 51095 CmUnRegisterCallback 69 26376 1 % 51095 ExSetResourceOwnerPointer 63 26376 1 % 46652 WRITE_REGISTER_BUFFER_ULONG 43 26376 0 % 31842 KeEnterCriticalRegion 42 26376 0 % 31101 KeSaveFloatingPointState 38 26376 0 % 28139 Kei386EoiHelper 36 26376 0 % 26658 KeSignalCallDpcSynchronize 36 26376 0 % 26658 KeRestoreFloatingPointState 32 26376 0 % 23696 KeLeaveCriticalRegion 32 26376 0 % 23696 PsGetCurrentThread 29 26376 0 % 21475 ProbeForRead 28 26376 0 % 20734 CcWaitForCurrentLazyWriterActivity 28 26376 0 % 20734 ExEnumHandleTable 24 26376 0 % 17772 CcZeroData 19 26376 0 % 14069 PsGetCurrentThreadWin32Thread 18 26376 0 % 13329 ExEnterCriticalRegionAndAcquireResourceExclusive 18 26376 0 % 13329 CcSetReadAheadGranularity 18 26376 0 % 13329 MmResetDriverPaging 17 26376 0 % 12588 ExReleaseResourceAndLeaveCriticalRegion 17 26376 0 % 1258 8 KeWaitForSingleObject 16 26376 0 % 11848 KeTerminateThread 16 26376 0 % 11848 memmove 15 26376 0 % 11107 KiUnexpectedInterrupt 15 26376 0 % 11107 NtFreeVirtualMemory 15 26376 0 % 11107 ExInterlockedPopEntrySList 15 26376 0 % 11107 PsGetCurrentProcessId 14 26376 0 % 10367 except_handler3 13 26376 0 % 9626 aullshr 12 26376 0 % 8886 ObfDereferenceObject 12 26376 0 % 8886 NtConnectPort 12 26376 0 % 8886 ProbeForWrite 11 26376 0 % 8145 READ_REGISTER_USHORT 11 26376 0 % 8145 PsGetCurrentProcessWin32Process 10 26376 0 % 7405 ObReferenceObjectByHandle 10 26376 0 % 7405 MmMapViewOfSection 10 26376 0 % 7405 READ_REGISTER_BUFFER_UCHAR 10 26376 0 % 7405 READ_REGISTER_ULONG 10 26376 0 % 7405 InterlockedPushEntrySList 10 26376 0 % 7405 RtlTestBit 9 26376 0 % 6664 ExReleaseResourceLite 9 26376 0 % 6664 memset 8 26376 0 % 5924 RtlWalkFrameChain 8 26376 0 % 5924 MmUnmapVideoDisplay 8 26376 0 % 5924 KeIsExecutingDpc 8 26376 0 % 5924 KeInsertQueueApc 8 26376 0 % 5924 PsGetThreadWin32Thread 7 26376 0 % 5183 PsGetCurrentThreadId 7 26376 0 % 5183 MmFreeNonCachedMemory 7 26376 0 % 5183 KeWaitForMultipleObjects 7 26376 0 % 5183 KeSetTimerEx 7 26376 0 % 5183 KeUpdateRunTime 7 26376 0 % 5183 RtlFreeUnicodeString 6 26376 0 % 4443 vDbgPrintExWithPrefix 6 26376 0 % 4443 ExfUnblockPushLock 6 26376 0 % 4443 PsEstablishWin32Callouts 5 26376 0 % 3702 PsLookupProcessByProcessId 5 26376 0 % 3702 ObSetHandleAttributes 5 26376 0 % 3702 NtRequestWaitReplyPort 5 26376 0 % 3702 ExiTryToAcquireFastMutex 5 26376 0 % 3702 CcUninitializeCacheMap 5 26376 0 % 3702 ExInterlockedPushEntrySList 5 26376 0 % 3702 RtlInitUnicodeString 4 26376 0 % 2962 Ke386SetIoAccessMap 4 26376 0 % 2962 ObQueryNameString 4 26376 0 % 2962 alldiv 3 26376 0 % 2221 RtlSetBits 3 26376 0 % 2221 RtlAppendUnicodeStringToString 3 26376 0 % 2221 KeUserModeCallback 3 26376 0 % 2221 KiCoprocessorError 3 26376 0 % 2221 PsLookupProcessThreadByCid 3 26376 0 % 2221 MmProbeAndLockPages 3 26376 0 % 2221 MmFreePagesFromMdl 3 26376 0 % 2221 IoBuildDeviceIoControlRequest 3 26376 0 % 2221 IoUpdateShareAccess 3 26376 0 % 2221 ExIsResourceAcquiredExclusiveLite 3 26376 0 % 2221 ExAcquireResourceSharedLite 3 26376 0 % 2221 ExInterlockedAddLargeStatistic 3 26376 0 % 2221 RtlUpcaseUnicodeChar 2 26376 0 % 1481 RtlEqualUnicodeString 2 26376 0 % 1481 RtlLookupElementGenericTable 2 26376 0 % 1481 KeSynchronizeExecution 2 26376 0 % 1481 MmGrowKernelStack 2 26376 0 % 1481 KeReleaseSemaphore 2 26376 0 % 1481 KeUnstackDetachProcess 2 26376 0 % 1481 KeRemoveEntryDeviceQueue 2 26376 0 % 1481 IoSetTopLevelIrp 2 26376 0 % 1481 IofCompleteRequest 2 26376 0 % 1481 IoFreeMdl 2 26376 0 % 1481 FsRtlIsNameInExpression 2 26376 0 % 1481 FsRtlDissectName 2 26376 0 % 1481 ExQueueWorkItem 2 26376 0 % 1481 ExSizeOfRundownProtectionCacheAware 2 26376 0 % 1481 Exi386InterlockedIncrementLong 2 26376 0 % 1481 WRITE_REGISTER_ULONG 2 26376 0 % 1481 wcsicmp 1 26376 0 % 740 wcslen 1 26376 0 % 740 RtlNumberGenericTableElementsAvl 1 26376 0 % 740 RtlWriteRegistryValue 1 26376 0 % 740 RtlFillMemoryUlong 1 26376 0 % 740 RtlFillMemory 1 26376 0 % 740 RtlFindClearBits 1 26376 0 % 740 RtlGetDefaultCodePage 1 26376 0 % 740 RtlCaptureStackBackTrace 1 26376 0 % 740 RtlCopyUnicodeString 1 26376 0 % 740 RtlNumberGenericTableElements 1 26376 0 % 740 KiCheckForSListAddress 1 26376 0 % 740 KiDispatchInterrupt 1 26376 0 % 740 KeRaiseUserException 1 26376 0 % 740 SeLockSubjectContext 1 26376 0 % 740 PsIsThreadTerminating 1 26376 0 % 740 PsGetProcessWin32Process 1 26376 0 % 740 ObReleaseObjectSecurity 1 26376 0 % 740 ObCheckObjectAccess 1 26376 0 % 740 ObInsertObject 1 26376 0 % 740 MmFlushImageSection 1 26376 0 % 740 NtAllocateVirtualMemory 1 26376 0 % 740 MmUnmapReservedMapping 1 26376 0 % 740 ExFreePool 1 26376 0 % 740 KefAcquireSpinLockAtDpcLevel 1 26376 0 % 740 KeSetTimeIncrement 1 26376 0 % 740 KeQueryInterruptTime 1 26376 0 % 740 KeInitializeApc 1 26376 0 % 740 KeAreAllApcsDisabled 1 26376 0 % 740 IoInitializeIrp 1 26376 0 % 740 IoFreeIrp 1 26376 0 % 740 ExReleaseFastMutexUnsafeAndLeaveCriticalRegion 1 26376 0 % 740 WRITE_REGISTER_USHORT 1 26376 0 % 740 READ_REGISTER_UCHAR 1 26376 0 % 740 ================================= END OF RUN ================================== ============================== NORMAL END OF RUN ============================== C:\krview>