Microsoft KB Archive/136650

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

Article ID: 136650

Article Last Modified on 10/17/2003

-

APPLIES TO

 Microsoft Source Profiler 1.2, when used with:  Microsoft Visual C++ 2.1

 Microsoft Visual C++ 2.2 

-



This article was previously published under Q136650



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.

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

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 kbprb KB136650

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.