PRB: Profiler Won't Merge Stats from 2 Diff Op Sys on Same PC

ID: Q136650

The information in this article applies to:

The information in this article is included in the documentation starting with Visual C++ 5.0. Look there for future revisions.

SYMPTOMS

The profiler tools will not merge profile sessions run on two different operating systems even if the are on the same computer. It generates this error:

   PREP : fatal error PRF1463: different clock/sampling frequency

Note: This problem does not occur in VC++ 4.0 and later.

RESOLUTION

Do not attempt to merge profiling statistics gathered when profiling on two different operating systems.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

1. Start a sample project and enable profiling in the link build options.

2. Build the project.

3. Run the profiler by clicking Profile on the Tools menu with Function

   Timing selected

4. Exit, and start a different operating system; that is, if you were in
   Windows 95, start Windows NT, or vice versa)

5. From the development environment, run the profiler by clicking Profile
   on the Tools menu with Merge selected.

NOTE: The error doesn't appear if the profiling was done with the same operating system but on different computers. It will merge the timing statistics even though the results may not be consistent.

KBCategory: kbtool kbprb KBSubcategory: VWBIss Additional reference words: 9.10 2.10 2.20

Keywords          : kbide kbVC kbVC210 kbVC220 kbGrpDSTools 
Version           : 2.10 2.20 | 2.10 2.20
Platform          : NT WINDOWS
Issue type        : kbprb

Last Reviewed: October 2, 1998