PwrTest 記錄檔

PwrTest 支援多種不同格式的同時記錄輸出:.log (純文字) 、.xml (格式會因每個案例而有所不同) 、.wtl (WTTLog) ,以及 .etl (ETW 追蹤) 。 根據預設,PwrTest 會產生名為 pwrtestlog.*的記錄檔。 您可以使用 /ln:name 選項來變更記錄檔名稱。 這些檔案預設會在目前的目錄中產生。 您可以使用 /lf:folder 選項來變更輸出位置。

WTTLog 檔案格式適用于所有使用 WTTLog 介面的 Microsoft Windows 驅動程式套件 (WDK) 工具。 如果您在未安裝 WTTLog 的電腦上執行 PwrTest,PwrTest 將不會產生 .wtl (WTTLog) 記錄檔。

PwrTest .xml記錄檔 (pwrtestlog.xml) 提供執行之特定案例的相關資訊。 所有 PwrTest .xml記錄檔都有下列根項目和標頭:

<PwrTestLog date="today's date" time="beginning time" filename = "logfile path">
  <SystemInformation>
    <ComputerName></ComputerName>
    <OSBuildNumber></OSBuildNumber>
    <SystemManufacturer></SystemManufacturer>
    <SystemProductName></SystemProductName>
    <BIOSVersion></BIOSVersion>
    <BIOSReleaseDate></BIOSReleaseDate>
    <ProcessorCount></ProcessorCount>
    <ProcessorPackageCount></ProcessorPackageCount>
  </SystemInformation>

  ... 
  scenario tags and data
  ...

</PwrTestLog>

PwrTest 語法