C# 클래스 YetAnotherRelogger.Helpers.Stats.CpuRamUsage

파일 보기 프로젝트 열기: sinterlkaas/YetAnotherRelogger 1 사용 예제들

공개 메소드들

메소드 설명
CpuRamUsage ( ) : System
GetById ( int id ) : ProcUsage
GetUsageById ( int id ) : Usage

Get Process CPU Usage

Update ( ) : bool

비공개 메소드들

메소드 설명
GetSystemTimes ( System.Runtime.InteropServices.ComTypes &lpIdleTime, System.Runtime.InteropServices.ComTypes &lpKernelTime, System.Runtime.InteropServices.ComTypes &lpUserTime ) : bool
Init ( ) : bool
SubtractTimes ( System.Runtime.InteropServices.ComTypes a, System.Runtime.InteropServices.ComTypes b ) : System.UInt64
validDiff ( long ticks ) : bool

메소드 상세

CpuRamUsage() 공개 메소드

public CpuRamUsage ( ) : System
리턴 System

GetById() 공개 메소드

public GetById ( int id ) : ProcUsage
id int
리턴 ProcUsage

GetUsageById() 공개 메소드

Get Process CPU Usage
public GetUsageById ( int id ) : Usage
id int Process Id
리턴 Usage

Update() 공개 메소드

public Update ( ) : bool
리턴 bool