ProcessThread.TotalProcessorTime 속성

정의

이 스레드가 프로세서를 사용하는데 소비한 총 시간을 가져옵니다.

public:
 property TimeSpan TotalProcessorTime { TimeSpan get(); };
public TimeSpan TotalProcessorTime { get; }
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public TimeSpan TotalProcessorTime { get; }
member this.TotalProcessorTime : TimeSpan
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.TotalProcessorTime : TimeSpan
Public ReadOnly Property TotalProcessorTime As TimeSpan

속성 값

스레드가 프로세서의 제어를 받고 있던 시간을 나타내는 TimeSpan입니다.

특성

예외

스레드 시간을 검색할 수 없는 경우

프로세스가 원격 컴퓨터에 있는 경우

설명

속성은 TotalProcessorTime 시스템에서 스레드를 대기 상태에서 벗어나 모든 프로세서에서 우선 순위를 지정한 총 시간을 나타냅니다. 여러 프로세서 시스템에서 스레드가 둘 이상의 프로세서를 사용하는 경우 이 값에는 각 프로세서에 소요된 시간이 포함됩니다.

속성은 TotalProcessorTimePrivilegedProcessorTime 속성의 UserProcessorTime 합계입니다.

적용 대상

추가 정보