Condividi tramite


PwrTest Log File

PwrTest supporta più output di registrazione simultanea in formati diversi: .log (testo normale), .xml (formato varia per scenario), .wtl (WTTLog) e .etl (traccia ETW). Per impostazione predefinita, PwrTest genera file di log denominati pwrtestlog.*. È possibile usare l'opzione /ln:name per modificare i nomi di log. Questi file verranno generati nella directory corrente per impostazione predefinita. È possibile usare l'opzione /lf:folder per modificare il percorso di output.

Il formato di file WTTLog è comune a tutti gli strumenti di Microsoft Windows Driver Kit (WDK) che usano l'interfaccia WTTLog. PwrTest non genererà un file di log con estensione wtl (WTTLog) se si esegue PwrTest in un computer che non dispone di WTTLog installato.

Il file di log PwrTest .xml (pwrtestlog.xml) fornisce informazioni sullo scenario specifico eseguito. Tutti i file di log PwrTest .xml hanno l'elemento radice e l'intestazione seguenti:

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

Sintassi PwrTest