Process Hacker
etwstat.c File Reference
#include "exttools.h"
#include "etwmon.h"

Go to the source code of this file.

Functions

VOID NTAPI ProcessesUpdatedCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI NetworkItemsUpdatedCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID EtpUpdateProcessInformation (VOID)
 
VOID EtEtwStatisticsInitialization (VOID)
 
VOID EtEtwStatisticsUninitialization (VOID)
 
VOID EtProcessDiskEvent (_In_ PET_ETW_DISK_EVENT Event)
 
VOID EtProcessNetworkEvent (_In_ PET_ETW_NETWORK_EVENT Event)
 
HANDLE EtThreadIdToProcessId (_In_ HANDLE ThreadId)
 

Variables

ULONG EtpDiskReadRaw
 
ULONG EtpDiskWriteRaw
 
ULONG EtpNetworkReceiveRaw
 
ULONG EtpNetworkSendRaw
 
ULONG EtDiskReadCount
 
ULONG EtDiskWriteCount
 
ULONG EtNetworkReceiveCount
 
ULONG EtNetworkSendCount
 
PH_UINT32_DELTA EtDiskReadDelta
 
PH_UINT32_DELTA EtDiskWriteDelta
 
PH_UINT32_DELTA EtNetworkReceiveDelta
 
PH_UINT32_DELTA EtNetworkSendDelta
 
PH_UINT32_DELTA EtDiskReadCountDelta
 
PH_UINT32_DELTA EtDiskWriteCountDelta
 
PH_UINT32_DELTA EtNetworkReceiveCountDelta
 
PH_UINT32_DELTA EtNetworkSendCountDelta
 
PH_CIRCULAR_BUFFER_ULONG EtDiskReadHistory
 
PH_CIRCULAR_BUFFER_ULONG EtDiskWriteHistory
 
PH_CIRCULAR_BUFFER_ULONG EtNetworkReceiveHistory
 
PH_CIRCULAR_BUFFER_ULONG EtNetworkSendHistory
 
PH_CIRCULAR_BUFFER_ULONG EtMaxDiskHistory
 
PH_CIRCULAR_BUFFER_ULONG EtMaxNetworkHistory
 
PVOID EtpProcessInformation
 
PH_QUEUED_LOCK EtpProcessInformationLock = PH_QUEUED_LOCK_INIT
 

Function Documentation

VOID EtEtwStatisticsInitialization ( VOID  )

Definition at line 73 of file etwstat.c.

VOID EtEtwStatisticsUninitialization ( VOID  )

Definition at line 106 of file etwstat.c.

VOID EtProcessDiskEvent ( _In_ PET_ETW_DISK_EVENT  Event)

Definition at line 113 of file etwstat.c.

VOID EtProcessNetworkEvent ( _In_ PET_ETW_NETWORK_EVENT  Event)

Definition at line 150 of file etwstat.c.

VOID EtpUpdateProcessInformation ( VOID  )

Definition at line 371 of file etwstat.c.

HANDLE EtThreadIdToProcessId ( _In_ HANDLE  ThreadId)

Definition at line 388 of file etwstat.c.

static VOID NTAPI NetworkItemsUpdatedCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 331 of file etwstat.c.

VOID NTAPI ProcessesUpdatedCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 399 of file etwdisk.c.

Variable Documentation

ULONG EtDiskReadCount

Definition at line 48 of file etwstat.c.

PH_UINT32_DELTA EtDiskReadCountDelta

Definition at line 58 of file etwstat.c.

PH_UINT32_DELTA EtDiskReadDelta

Definition at line 53 of file etwstat.c.

PH_CIRCULAR_BUFFER_ULONG EtDiskReadHistory

Definition at line 63 of file etwstat.c.

ULONG EtDiskWriteCount

Definition at line 49 of file etwstat.c.

PH_UINT32_DELTA EtDiskWriteCountDelta

Definition at line 59 of file etwstat.c.

PH_UINT32_DELTA EtDiskWriteDelta

Definition at line 54 of file etwstat.c.

PH_CIRCULAR_BUFFER_ULONG EtDiskWriteHistory

Definition at line 64 of file etwstat.c.

PH_CIRCULAR_BUFFER_ULONG EtMaxDiskHistory

Definition at line 67 of file etwstat.c.

PH_CIRCULAR_BUFFER_ULONG EtMaxNetworkHistory

Definition at line 68 of file etwstat.c.

ULONG EtNetworkReceiveCount

Definition at line 50 of file etwstat.c.

PH_UINT32_DELTA EtNetworkReceiveCountDelta

Definition at line 60 of file etwstat.c.

PH_UINT32_DELTA EtNetworkReceiveDelta

Definition at line 55 of file etwstat.c.

PH_CIRCULAR_BUFFER_ULONG EtNetworkReceiveHistory

Definition at line 65 of file etwstat.c.

ULONG EtNetworkSendCount

Definition at line 51 of file etwstat.c.

PH_UINT32_DELTA EtNetworkSendCountDelta

Definition at line 61 of file etwstat.c.

PH_UINT32_DELTA EtNetworkSendDelta

Definition at line 56 of file etwstat.c.

PH_CIRCULAR_BUFFER_ULONG EtNetworkSendHistory

Definition at line 66 of file etwstat.c.

ULONG EtpDiskReadRaw

Definition at line 43 of file etwstat.c.

ULONG EtpDiskWriteRaw

Definition at line 44 of file etwstat.c.

ULONG EtpNetworkReceiveRaw

Definition at line 45 of file etwstat.c.

ULONG EtpNetworkSendRaw

Definition at line 46 of file etwstat.c.

PVOID EtpProcessInformation

Definition at line 70 of file etwstat.c.

PH_QUEUED_LOCK EtpProcessInformationLock = PH_QUEUED_LOCK_INIT

Definition at line 71 of file etwstat.c.