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

ID: Q136650


The information in this article applies to:
  • Microsoft Source Profiler, included with:
    • Microsoft Visual C++ 32-bit Edition, versions 2.1, 2.2

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.

Additional query words: 9.10 2.10 2.20

Keywords : kbide kbVC kbVC210 kbVC220 kbGrpDSTools
Version : :2.1,2.2
Platform : NT WINDOWS
Issue type : kbprb


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.