Compartilhar via


Arquivo de log PwrTest

O PwrTest dá suporte a várias saídas de log simultâneas em formatos diferentes: .log (texto sem formatação), .xml (formato varia por cenário), .wtl (WTTLog) e .etl (rastreamento ETW). Por padrão, PwrTest gera arquivos de log chamados pwrtestlog.*. You can use the /ln:name option to change the log names. Esses arquivos serão gerados no diretório atual por padrão. You can use the /lf:folder option to change the output location.

O formato de arquivo WTTLog é comum a todas as ferramentas do WDK (Microsoft Windows Driver Kit) que usam a interface WTTLog. A PwrTest não gerará um arquivo de log .wtl (WTTLog) se você executar PwrTest em um computador que não tenha o WTTLog instalado.

O arquivo de log .xml PwrTest (pwrtestlog.xml) fornece informações sobre o cenário específico que é executado. Todos os arquivos de log do PwrTest .xml têm o seguinte elemento raiz e cabeçalho:

<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