Thread: How can I monitor the performance of my C++ Code?

  1. #1
    Registered User
    Join Date
    Mar 2006

    Unhappy How can I monitor the performance of my C++ Code?

    I've have been working on a C++ game (DirectX).Until few days back it was working fine but after the edition of some new features , it is now too sluggish. I've tried to debug it,alter code, remove some features and even scanned my system for viruses. But the game still scrolls like a screen- saver :-(.
    Does someone know about a good C++ profiler (performance analysis tool) that can pinpoint performance bottlenecks in my code.I know of a few tools in .NET.One that is very good is ProfileSharp from It is a .NET code, performance and memory profiler that discovers slow running lines of code even without recompiling or modifying your code!
    Never heard of any such tool for C++.

  2. #2
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Cayman Islands
    There are many C++ profilers, here's a free one you can try

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  2. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  3. The right way to code.
    By g4j31a5 in forum C++ Programming
    Replies: 7
    Last Post: 10-03-2006, 01:58 AM
  4. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM