次の方法で共有


PerfLog Output File Name and Location (Windows Embedded CE 6.0)

1/6/2010

The name of the log file name generated by PERFLOG.DLL is determined by both the application that is using the library and the system environment on which the application is running. The log file name has the following form:

AppString**_Platform_CPU_MajorVersion_MinorVersion_Build#.log**

The following table shows the parts of the log file name and the description.

AppString

A string passed to the PERFLOG.DLL by the application. Typically this string is the same as the application name; however it can contain any text, or be empty.

Platform

The platform, such as CEPC or DeviceEmulator

CPU

CPU identifier, such as x86 or ARMV4I

MajorVersion

Major software version of PerfLog

MinorVersion

Minor software version of PerfLog

Build#

Specific build of PerfLog

Example PerfLog file name: perftest_CEPC_x86_6_0_1234.log

Every time an application uses the PERFLOG.DLL library, the logger will append data to the log file if the file already exists. Therefore it may be necessary to either manually or programmatically remove the old log file prior to running a performance test.

By default, PERFLOG.DLL will output the log to the Release directory; for example, \Release\perftest_x86_6_0_1234.log. If desired, the log file can be directed to root directory of the device by setting the registry value HKEY_LOCAL_MACHINE\Software\Microsoft\PerfDWORD:NoRelease=1. Typically most performance tests use the default location in the Release directory.

See Also

Other Resources

Managing Performance Results Using PerfLog