PwrTest のタイマー シナリオ

PwrTest タイマー シナリオでは、システム タイマー解決の変更が発生した時点でログに記録されます。

構文

pwrtest /timer /?  [/t:n]  [/?] 

/t:n
Specifies the total time (in minutes) for the scenario to run (the default value for n is 30 minutes).

Examples

  pwrtest /timer
pwrtest /timer /t:5

XML ログ ファイルの出力

<PwrTestLog>
  <SystemInformation>
  </SystemInformation>
  <TimerEvents> 
    <TimerResolutionRundown>
      <Timestamp></Timestamp>
      <CurrentResolution></CurrentResolution>
      <MinimumResolution></MinimumResolution>
      <MaximumResolution></MaximumResolution>
      <KernelCount></KernelCount>
      <KernelResolution></KernelResolution>
    </TimerResolutionRundown>
    <TimerResolutionRequestRundown>
        <Timestamp></Timestamp>
        <AppName></AppName>
        <Resolution></Resolution>
        <ProcessID></ProcessID>
    </TimerResolutionRequestRundown>
    <NtSetTimerResolution>
      <Timestamp></Timestamp>
      <AppName></AppName>
      <ServiceName></ServiceName>
      <Resolution></Resolution>
      <ProcessID></ProcessID>
    </NtSetTimerResolution>
    <UpdateTimerResolution>
      <Timestamp></Timestamp>
      <Resolution></Resolution>
    </UpdateTimerResolution>
    <ExSetTimerResolution>
      <Timestamp></Timestamp>
      <Resolution></Resolution>
    </ExSetTimerResolution>  
  </TimerEvents>
</PwrTestLog> 

次の表では、ログ ファイルに表示される XML 要素について説明します。

Element Description
<TimerEvents>

すべての異なるタイマー イベントが含まれています。 PwrTest ログ ファイルに表示できる <TimerEvents> 要素は 1 つだけです。

<タイムスタンプ>

特定のイベントのタイム スタンプ。

<TimerResolutionRundown>

現在のタイマー解決の統計情報を表示するイベント。 これらのイベントの 1 つだけがログに記録されます。

<CurrentResolution>

現在の解像度 (ミリ秒単位)。

<MinimumResolution>

Minimum resolution.

<MaximumResolution>

Maximum resolution.

<KernelCount>

カーネル モードからの解決要求の数。

<KernelResolution>

現在のカーネル タイマーの解決。

<TimerResolutionRequestRundown>

現在の解決要求を表示するイベント。 複数のイベントがログに記録される場合があります。

<AppName>

要求元のプロセス名。

<解決>

ミリ秒単位での要求の解決。

<ProcessID>

要求元のプロセス ID。

<NtSetTimerResolution>

イベントは、プロセスがタイマー解決要求を行したことを示します。

<ServiceName>

要求元のサービス名 (該当する場合)。

<UpdateTimerResolution>

イベントは、システムがタイマー解決を更新したことを示します。

<ExSetTimerResolution>

イベントは、カーネル コンポーネントがタイマー解決要求を行したことを示します。

PwrTest Syntax