Process Hacker
gpumon.c File Reference
#include "exttools.h"
#include "setupapi.h"
#include "d3dkmt.h"
#include "gpumon.h"

Go to the source code of this file.

Functions

VOID EtGpuMonitorInitialization (VOID)
 
BOOLEAN EtpInitializeD3DStatistics (VOID)
 
PETP_GPU_ADAPTER EtpAllocateGpuAdapter (_In_ ULONG NumberOfSegments)
 
PPH_STRING EtpQueryDeviceDescription (_In_ HDEVINFO DeviceInfoSet, _In_ PSP_DEVINFO_DATA DeviceInfoData)
 
VOID EtSaveGpuMonitorSettings (VOID)
 
ULONG EtGetGpuAdapterCount (VOID)
 
ULONG EtGetGpuAdapterIndexFromNodeIndex (_In_ ULONG NodeIndex)
 
PPH_STRING EtGetGpuAdapterDescription (_In_ ULONG Index)
 
VOID EtAllocateGpuNodeBitMap (_Out_ PRTL_BITMAP BitMap)
 
VOID EtUpdateGpuNodeBitMap (_In_ PRTL_BITMAP NewBitMap)
 
VOID EtQueryProcessGpuStatistics (_In_ HANDLE ProcessHandle, _Out_ PET_PROCESS_GPU_STATISTICS Statistics)
 

Variables

BOOLEAN EtGpuEnabled
 
ULONG EtGpuTotalNodeCount
 
ULONG EtGpuTotalSegmentCount
 
ULONG64 EtGpuDedicatedLimit
 
ULONG64 EtGpuSharedLimit
 
ULONG EtGpuNextNodeIndex = 0
 
RTL_BITMAP EtGpuNodeBitMap
 
PULONG EtGpuNodeBitMapBuffer
 
ULONG EtGpuNodeBitMapBitsSet
 
PULONG EtGpuNewNodeBitMapBuffer
 
PH_UINT64_DELTA EtClockTotalRunningTimeDelta
 
LARGE_INTEGER EtClockTotalRunningTimeFrequency
 
PH_UINT64_DELTA EtGpuTotalRunningTimeDelta
 
PH_UINT64_DELTA EtGpuSystemRunningTimeDelta
 
FLOAT EtGpuNodeUsage
 
PH_CIRCULAR_BUFFER_FLOAT EtGpuNodeHistory
 
PH_CIRCULAR_BUFFER_ULONG EtMaxGpuNodeHistory
 
PH_CIRCULAR_BUFFER_FLOAT EtMaxGpuNodeUsageHistory
 
PPH_UINT64_DELTA EtGpuNodesTotalRunningTimeDelta
 
PPH_CIRCULAR_BUFFER_FLOAT EtGpuNodesHistory
 
ULONG64 EtGpuDedicatedUsage
 
ULONG64 EtGpuSharedUsage
 
PH_CIRCULAR_BUFFER_ULONG EtGpuDedicatedHistory
 
PH_CIRCULAR_BUFFER_ULONG EtGpuSharedHistory
 

Function Documentation

VOID EtAllocateGpuNodeBitMap ( _Out_ PRTL_BITMAP  BitMap)

Definition at line 734 of file gpumon.c.

ULONG EtGetGpuAdapterCount ( VOID  )

Definition at line 687 of file gpumon.c.

PPH_STRING EtGetGpuAdapterDescription ( _In_ ULONG  Index)

Definition at line 712 of file gpumon.c.

ULONG EtGetGpuAdapterIndexFromNodeIndex ( _In_ ULONG  NodeIndex)

Definition at line 694 of file gpumon.c.

VOID EtGpuMonitorInitialization ( VOID  )

Definition at line 70 of file gpumon.c.

PETP_GPU_ADAPTER EtpAllocateGpuAdapter ( _In_ ULONG  NumberOfSegments)

Definition at line 318 of file gpumon.c.

BOOLEAN EtpInitializeD3DStatistics ( VOID  )

Definition at line 197 of file gpumon.c.

PPH_STRING EtpQueryDeviceDescription ( _In_ HDEVINFO  DeviceInfoSet,
_In_ PSP_DEVINFO_DATA  DeviceInfoData 
)

Definition at line 334 of file gpumon.c.

VOID EtQueryProcessGpuStatistics ( _In_ HANDLE  ProcessHandle,
_Out_ PET_PROCESS_GPU_STATISTICS  Statistics 
)

Definition at line 759 of file gpumon.c.

VOID EtSaveGpuMonitorSettings ( VOID  )

Definition at line 676 of file gpumon.c.

VOID EtUpdateGpuNodeBitMap ( _In_ PRTL_BITMAP  NewBitMap)

Definition at line 747 of file gpumon.c.

Variable Documentation

PH_UINT64_DELTA EtClockTotalRunningTimeDelta

Definition at line 53 of file gpumon.c.

LARGE_INTEGER EtClockTotalRunningTimeFrequency

Definition at line 54 of file gpumon.c.

PH_CIRCULAR_BUFFER_ULONG EtGpuDedicatedHistory

Definition at line 67 of file gpumon.c.

ULONG64 EtGpuDedicatedLimit

Definition at line 45 of file gpumon.c.

ULONG64 EtGpuDedicatedUsage

Definition at line 65 of file gpumon.c.

BOOLEAN EtGpuEnabled

Definition at line 39 of file gpumon.c.

PULONG EtGpuNewNodeBitMapBuffer

Definition at line 51 of file gpumon.c.

ULONG EtGpuNextNodeIndex = 0

Definition at line 47 of file gpumon.c.

RTL_BITMAP EtGpuNodeBitMap

Definition at line 48 of file gpumon.c.

ULONG EtGpuNodeBitMapBitsSet

Definition at line 50 of file gpumon.c.

PULONG EtGpuNodeBitMapBuffer

Definition at line 49 of file gpumon.c.

PH_CIRCULAR_BUFFER_FLOAT EtGpuNodeHistory

Definition at line 58 of file gpumon.c.

PPH_CIRCULAR_BUFFER_FLOAT EtGpuNodesHistory

Definition at line 63 of file gpumon.c.

PPH_UINT64_DELTA EtGpuNodesTotalRunningTimeDelta

Definition at line 62 of file gpumon.c.

FLOAT EtGpuNodeUsage

Definition at line 57 of file gpumon.c.

PH_CIRCULAR_BUFFER_ULONG EtGpuSharedHistory

Definition at line 68 of file gpumon.c.

ULONG64 EtGpuSharedLimit

Definition at line 46 of file gpumon.c.

ULONG64 EtGpuSharedUsage

Definition at line 66 of file gpumon.c.

PH_UINT64_DELTA EtGpuSystemRunningTimeDelta

Definition at line 56 of file gpumon.c.

ULONG EtGpuTotalNodeCount

Definition at line 43 of file gpumon.c.

PH_UINT64_DELTA EtGpuTotalRunningTimeDelta

Definition at line 55 of file gpumon.c.

ULONG EtGpuTotalSegmentCount

Definition at line 44 of file gpumon.c.

PH_CIRCULAR_BUFFER_ULONG EtMaxGpuNodeHistory

Definition at line 59 of file gpumon.c.

PH_CIRCULAR_BUFFER_FLOAT EtMaxGpuNodeUsageHistory

Definition at line 60 of file gpumon.c.