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: 19:15:58 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:09.821 (33.0%) U 0:00:01.259 ( 4.2%) I 0:00:18.684 (62.8%) DPC 0:00:00.329 ( 1.1%) Interrupt 0:00:00.329 ( 1.1%) Interrupts= 6456, Interrupt Rate= 217/sec. Total Profile Time = 29765 msec BytesStart BytesStop Byt esDiff. Available Physical Memory , 255094784, 236843008, -18251 776 Available Pagefile(s) , 924540928, 917291008, -7249 920 Available Virtual , 2126860288, 2125602816, -1257 472 Available Extended Virtual , 0, 0, 0 Total Avg. Rate Context Switches , 20834, 700/sec. System Calls , 83988, 2822/sec. Page Faults , 0, 0/sec. I/O Read Operations , 130, 4/sec. I/O Write Operations , 0, 0/sec. I/O Other Operations , 412, 14/sec. I/O Read Bytes , 11236, 86/ I/O I/O Write Bytes , 0, 0/ I/O I/O Other Bytes , 10436, 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 13891 hits, 19532 events per hit -------- Module Hits msec %Total Events/Sec hal 9805 29750 70 % 6437353 ntoskrnl 2380 29750 17 % 1562560 win32k 1230 29765 8 % 807134 ftfd 238 29765 1 % 156177 nv4_mini 163 29765 1 % 106961 nv4_disp 58 29765 0 % 38060 tcpip 4 29765 0 % 2624 VIDEOPRT 3 29765 0 % 1968 mouclass 2 29765 0 % 1312 fastfat 2 29750 0 % 1313 i8042prt 1 29765 0 % 656 usbuhci 1 29750 0 % 656 classpnp 1 29750 0 % 656 uniata 1 29750 0 % 656 scsiport 1 29750 0 % 656 usbport 1 29750 0 % 656 ===> 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 2380 hits, 19532 events per hit -------- Module Hits msec %Total Events/Sec KdSystemDebugControl 520 29750 21 % 341399 ExQueryPoolBlockSize 351 29750 14 % 230444 NtVdmControl 126 29750 5 % 82723 KiEoiHelper 98 29750 3 % 64340 CcGetFileObjectFromSectionPtrs 82 29750 3 % 53836 RtlNumberOfSetBits 78 29750 3 % 51209 CmUnRegisterCallback 76 29750 3 % 49896 ExAllocatePoolWithTag 69 29750 2 % 45301 ExFreePoolWithTag 68 29750 2 % 44644 WRITE_REGISTER_BUFFER_ULONG 52 29750 2 % 34139 KeSignalCallDpcSynchronize 45 29750 1 % 29544 ExAcquireResourceExclusiveLite 34 29750 1 % 22322 ExSetResourceOwnerPointer 33 29750 1 % 21665 READ_REGISTER_USHORT 30 29750 1 % 19696 READ_REGISTER_BUFFER_UCHAR 28 29750 1 % 18383 READ_REGISTER_ULONG 28 29750 1 % 18383 ExEnumHandleTable 24 29750 0 % 15756 except_handler3 22 29750 0 % 14443 KeLeaveCriticalRegion 22 29750 0 % 14443 PsGetCurrentThread 21 29750 0 % 13787 KiUnexpectedInterrupt 20 29750 0 % 13130 KeEnterCriticalRegion 19 29750 0 % 12474 CcWaitForCurrentLazyWriterActivity 19 29750 0 % 12474 ExInterlockedPopEntrySList 19 29750 0 % 12474 Kei386EoiHelper 18 29750 0 % 11817 NtConnectPort 18 29750 0 % 11817 KeWaitForSingleObject 18 29750 0 % 11817 MmResetDriverPaging 17 29750 0 % 11161 MmFreeNonCachedMemory 17 29750 0 % 11161 KeSetTimerEx 17 29750 0 % 11161 ExReleaseResourceForThreadLite 17 29750 0 % 11161 CcZeroData 17 29750 0 % 11161 ObReferenceObjectByHandle 16 29750 0 % 10504 Ke386SetIoAccessMap 15 29750 0 % 9848 PsEstablishWin32Callouts 14 29750 0 % 9191 PsGetCurrentThreadWin32Thread 14 29750 0 % 9191 NtRequestWaitReplyPort 14 29750 0 % 9191 memset 13 29750 0 % 8534 KeTerminateThread 13 29750 0 % 8534 WRITE_REGISTER_ULONG 13 29750 0 % 8534 memmove 12 29750 0 % 7878 PsGetCurrentProcessWin32Process 12 29750 0 % 7878 NtFreeVirtualMemory 12 29750 0 % 7878 CcSetReadAheadGranularity 12 29750 0 % 7878 MmUnmapVideoDisplay 8 29750 0 % 5252 InterlockedPushEntrySList 8 29750 0 % 5252 KiDeliverApc 7 29750 0 % 4595 ExiTryToAcquireFastMutex 7 29750 0 % 4595 CcUninitializeCacheMap 7 29750 0 % 4595 RtlUpperChar 6 29750 0 % 3939 RtlUpcaseUnicodeChar 6 29750 0 % 3939 PsLookupProcessByProcessId 6 29750 0 % 3939 ObfDereferenceObject 6 29750 0 % 3939 KeIsExecutingDpc 6 29750 0 % 3939 KeInsertQueueApc 6 29750 0 % 3939 ExReleaseResourceLite 6 29750 0 % 3939 ExfUnblockPushLock 6 29750 0 % 3939 ProbeForWrite 6 29750 0 % 3939 ProbeForRead 6 29750 0 % 3939 ExInterlockedPushEntrySList 6 29750 0 % 3939 RtlInitUnicodeString 5 29750 0 % 3282 RtlAppendUnicodeStringToString 5 29750 0 % 3282 vDbgPrintExWithPrefix 5 29750 0 % 3282 KeUserModeCallback 5 29750 0 % 3282 ObQueryNameString 5 29750 0 % 3282 KeUpdateRunTime 5 29750 0 % 3282 aullshr 4 29750 0 % 2626 RtlNumberGenericTableElements 4 29750 0 % 2626 KiDispatchInterrupt 4 29750 0 % 2626 KeRestoreFloatingPointState 4 29750 0 % 2626 PsGetCurrentThreadId 4 29750 0 % 2626 ExIsResourceAcquiredExclusiveLite 4 29750 0 % 2626 ExInterlockedAddLargeStatistic 4 29750 0 % 2626 RtlCopyUnicodeString 3 29750 0 % 1969 RtlWalkFrameChain 3 29750 0 % 1969 PsLookupProcessThreadByCid 3 29750 0 % 1969 PsGetCurrentProcessId 3 29750 0 % 1969 ObfReferenceObject 3 29750 0 % 1969 ObMakeTemporaryObject 3 29750 0 % 1969 KeSetEvent 3 29750 0 % 1969 KeRemoveEntryDeviceQueue 3 29750 0 % 1969 KeSetTimeIncrement 3 29750 0 % 1969 KeAreAllApcsDisabled 3 29750 0 % 1969 IoSetTopLevelIrp 3 29750 0 % 1969 ExQueueWorkItem 3 29750 0 % 1969 alldiv 2 29750 0 % 1313 RtlSplay 2 29750 0 % 1313 RtlCompareMemoryUlong 2 29750 0 % 1313 RtlUnwind 2 29750 0 % 1313 RtlTestBit 2 29750 0 % 1313 RtlFindClearBits 2 29750 0 % 1313 KeInvalidateAllCaches 2 29750 0 % 1313 PsLookupThreadByThreadId 2 29750 0 % 1313 PsGetThreadWin32Thread 2 29750 0 % 1313 ObSetHandleAttributes 2 29750 0 % 1313 NtAllocateVirtualMemory 2 29750 0 % 1313 MmForceSectionClosed 2 29750 0 % 1313 ExFreePool 2 29750 0 % 1313 KeWaitForMultipleObjects 2 29750 0 % 1313 KeReleaseSemaphore 2 29750 0 % 1313 KeRemoveQueue 2 29750 0 % 1313 KeQueryInterruptTime 2 29750 0 % 1313 IoFreeIrp 2 29750 0 % 1313 ExEnterCriticalRegionAndAcquireResourceExclusive 2 29750 0 % 1313 ExReleaseFastMutexUnsafeAndLeaveCriticalRegion 2 29750 0 % 1313 NtCreateEvent 2 29750 0 % 1313 WRITE_REGISTER_USHORT 2 29750 0 % 1313 WRITE_REGISTER_UCHAR 2 29750 0 % 1313 READ_REGISTER_UCHAR 2 29750 0 % 1313 aulldiv 1 29750 0 % 656 RtlZeroHeap 1 29750 0 % 656 RtlNumberGenericTableElementsAvl 1 29750 0 % 656 RtlInsertElementGenericTableFullAvl 1 29750 0 % 656 RtlWriteRegistryValue 1 29750 0 % 656 RtlSetBits 1 29750 0 % 656 RtlClearBit 1 29750 0 % 656 RtlMultiByteToUnicodeN 1 29750 0 % 656 RtlCompareUnicodeString 1 29750 0 % 656 RtlIsGenericTableEmpty 1 29750 0 % 656 KiCoprocessorError 1 29750 0 % 656 SePrivilegeCheck 1 29750 0 % 656 PsReferenceImpersonationToken 1 29750 0 % 656 PsGetProcessWin32Process 1 29750 0 % 656 NtWaitForSingleObject 1 29750 0 % 656 MmMapViewOfSection 1 29750 0 % 656 MmFlushImageSection 1 29750 0 % 656 MmGetPhysicalAddress 1 29750 0 % 656 NtMapViewOfSection 1 29750 0 % 656 MmGrowKernelStack 1 29750 0 % 656 MmUnmapReservedMapping 1 29750 0 % 656 MmUnmapLockedPages 1 29750 0 % 656 MmProbeAndLockPages 1 29750 0 % 656 MmMapLockedPagesSpecifyCache 1 29750 0 % 656 LpcRequestWaitReplyPort 1 29750 0 % 656 KeUnstackDetachProcess 1 29750 0 % 656 KeStackAttachProcess 1 29750 0 % 656 KeSetEventBoostPriority 1 29750 0 % 656 KeInsertByKeyDeviceQueue 1 29750 0 % 656 IoAllocateIrp 1 29750 0 % 656 IofCompleteRequest 1 29750 0 % 656 IoFreeMdl 1 29750 0 % 656 IoUpdateShareAccess 1 29750 0 % 656 FsRtlGetNextBaseMcbEntry 1 29750 0 % 656 ExAcquireResourceSharedLite 1 29750 0 % 656 ExReleaseResourceAndLeaveCriticalRegion 1 29750 0 % 65 6 Exi386InterlockedIncrementLong 1 29750 0 % 656 READ_REGISTER_BUFFER_ULONG 1 29750 0 % 656 ExInterlockedFlushSList 1 29750 0 % 656 ================================= END OF RUN ================================== ============================== NORMAL END OF RUN ============================== C:\krview>