PwrTest Log File

PwrTest mendukung beberapa output pengelogan simultan dalam format yang berbeda: .log (teks biasa), .xml (format bervariasi per skenario), .wtl (WTTLog), dan .etl (jejak ETW). Secara default, PwrTest menghasilkan file log bernama pwrtestlog.*. You can use the /ln:name option to change the log names. File-file ini akan dihasilkan di direktori saat ini secara default. You can use the /lf:folder option to change the output location.

Format file WTTLog umum untuk semua alat Microsoft Windows Driver Kit (WDK) yang menggunakan antarmuka WTTLog. PwrTest tidak akan menghasilkan file log .wtl (WTTLog) jika Anda menjalankan PwrTest pada komputer yang tidak menginstal WTTLog.

File log PwrTest .xml (pwrtestlog.xml) menyediakan informasi tentang skenario tertentu yang dijalankan. Semua file log PwrTest .xml memiliki elemen dan header akar berikut:

<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 Syntax