C# 클래스 HelloWorld.Samples.PerformanceInfo

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

공개 메소드들

메소드 설명
GetCPUPercentage ( ) : double
GetPhysicalAvailableMemoryInMiB ( ) : System.Int64
GetTotalMemoryInMiB ( ) : System.Int64

비공개 메소드들

메소드 설명
CreateCPUCounter ( ) : PerformanceCounter
GetPerformanceInfo ( [ PerformanceInformation, [ Size ) : bool

메소드 상세

GetCPUPercentage() 공개 정적인 메소드

public static GetCPUPercentage ( ) : double
리턴 double

GetPhysicalAvailableMemoryInMiB() 공개 정적인 메소드

public static GetPhysicalAvailableMemoryInMiB ( ) : System.Int64
리턴 System.Int64

GetTotalMemoryInMiB() 공개 정적인 메소드

public static GetTotalMemoryInMiB ( ) : System.Int64
리턴 System.Int64