PerfLog Output File Name and Location

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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\Perf DWORD:NoRelease=1. Typically most performance tests use the default location in the Release directory.

See Also

Other Resources

Managing Performance Results Using PerfLog