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

Last reviewed: February 28, 1997
Article ID: Q136650
2.10 2.20 | 2.10 2.20 WINDOWS NT | WINDOWS kbtool kbprb

The information in this article applies to:

  • The 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.


KBCategory: kbtool kbprb
KBSubcategory: VWBIss
Additional reference words: 9.10 2.10 2.20
Keywords : VWBIss kbprb kbtool
Version : 2.10 2.20 | 2.10 2.20
Platform : NT WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.