AppDomain.MonitoringTotalProcessorTime 속성

정의

프로세스가 시작된 후 현재 애플리케이션 도메인에서 실행되는 동안 모든 스레드에서 사용된 총 프로세서 시간을 가져옵니다.

public:
 property TimeSpan MonitoringTotalProcessorTime { TimeSpan get(); };
public TimeSpan MonitoringTotalProcessorTime { get; }
public TimeSpan MonitoringTotalProcessorTime { [System.Security.SecurityCritical] get; }
member this.MonitoringTotalProcessorTime : TimeSpan
[<get: System.Security.SecurityCritical>]
member this.MonitoringTotalProcessorTime : TimeSpan
Public ReadOnly Property MonitoringTotalProcessorTime As TimeSpan

속성 값

TimeSpan

현재 애플리케이션 도메인의 총 프로세서 시간입니다.

특성

예외

static(Visual Basic의 경우 Shared) MonitoringIsEnabled 속성이 false로 설정된 경우

설명

애플리케이션 도메인에 대 한 총 시간 보고 되는 각 스레드는 프로세스에서 해당 애플리케이션 도메인에서 실행 하는 데 소요 된 시간을 포함 합니다.

비관리 코드를 호출 하는 스레드는 여전히 애플리케이션 도메인을 사용 하 여 연결 하 고 프로세서 시간이 실행 비관리 코드에서 생성 되었으므로 호출 애플리케이션 도메인에 대해 보고 됩니다.

스레드가 차단되거나 절전 모드인 경우 프로세서 시간이 소비되지 않습니다.

적용 대상

추가 정보