Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Profiling MFC Windows App

Profiling MFC Windows App

Scheduled Pinned Locked Moved C / C++ / MFC
c++debuggingperformancequestionannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andrew Hoole
    wrote on last edited by
    #1

    Hi Can anyone point me in the right direction. I have a MFC application that I would like to profile. I have the right version of VC++ and have turned on all the profiling options according to the documentation as far as I can tell. When I run the profiler I get the initial startup dialogs from my app but the main window never appears. Task manager shows that an app of the same name but with a ._ex extension is running. If I kill this process then the profiler complains that the .pbo file wasn't of the right format. What am I doing wrong? Many thanks for any guidance that can be provided. Andrew Hoole

    M 1 Reply Last reply
    0
    • A Andrew Hoole

      Hi Can anyone point me in the right direction. I have a MFC application that I would like to profile. I have the right version of VC++ and have turned on all the profiling options according to the documentation as far as I can tell. When I run the profiler I get the initial startup dialogs from my app but the main window never appears. Task manager shows that an app of the same name but with a ._ex extension is running. If I kill this process then the profiler complains that the .pbo file wasn't of the right format. What am I doing wrong? Many thanks for any guidance that can be provided. Andrew Hoole

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      Profiled/instrumented application can take a LOT longer to run than even a debug version. Is the process running or is it standing still ( 0% CPU ) ? just to be certain, put a couple of output traces here and there in your code to let you know that the thing is running ok.


      Maximilien Lincourt Your Head A Splode - Strong Bad

      A 1 Reply Last reply
      0
      • M Maximilien

        Profiled/instrumented application can take a LOT longer to run than even a debug version. Is the process running or is it standing still ( 0% CPU ) ? just to be certain, put a couple of output traces here and there in your code to let you know that the thing is running ok.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        A Offline
        A Offline
        Andrew Hoole
        wrote on last edited by
        #3

        It is standing still on 0% CPU. I have left it for quite a while without seeing anything happen. Andrew Hoole

        D 1 Reply Last reply
        0
        • A Andrew Hoole

          It is standing still on 0% CPU. I have left it for quite a while without seeing anything happen. Andrew Hoole

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          If you disable profiling, does it run as normal?


          "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

          "Judge not by the eye but by the heart." - Native American Proverb

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups