Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Profiling in Windows with QtCreator?
Forum Updated to NodeBB v4.3 + New Features

Profiling in Windows with QtCreator?

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 16.1k 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.
  • T Offline
    T Offline
    TheDestroyer
    wrote on 8 Jun 2012, 09:51 last edited by
    #1

    Valgrind is only for Linux, I tried finding some other profiling apps for Windows, but have found nothing which could be integrated with QtCreator.

    Do you know any profiling programs that could be integrated in QtCreator for Windows? I need to improve the execution time of some programs.

    Thank you.

    1 Reply Last reply
    0
    • U Offline
      U Offline
      utcenter
      wrote on 8 Jun 2012, 10:37 last edited by
      #2

      I typically just use QElapesdTimer to time the hotspots of intense logic. Downside is you have to determine those yourself instead of having a performance analysis point them to you. Upside is it has almost no overhead and it is simple and easy to use.

      I am not aware of any other tool besides Valgrind that can integrate with Creator. For VS you can go for Intel's Parallel Studio, but its pricey.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tannin
        wrote on 8 Jun 2012, 16:37 last edited by
        #3

        You could look into "Very Sleepy": http://www.codersnotes.com/sleepy . It runs as a stand-alone application so no QT integration but it's free.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Wilk
          wrote on 8 Jun 2012, 17:32 last edited by
          #4

          Hello.
          When I was wanted to profile my Qt application, I found "this":http://www.richelbilderbeek.nl/CppQtGprofExample1.htm example. It can be used as a base for your own solution. You may also need to read some documentation about gprof.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TheDestroyer
            wrote on 8 Jun 2012, 17:51 last edited by
            #5

            Thanks a lot for the replies, guys.

            I eventually installed VMWare virtual machine and did the profiling with Ubuntu...

            But it's really so bad that nothing can be integrated with QtCreator but valgrind, while valgrind itself is only made for linux.

            1 Reply Last reply
            0
            • W Offline
              W Offline
              Wilk
              wrote on 8 Jun 2012, 18:00 last edited by
              #6

              Yes, it's realy sad. But gprof gives you pretty much information to think on and it works on windows. Furthermore, I guess you may find some tools, that can visualize it's output, while a plain text interpretation is still very usefull.

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TheDestroyer
                wrote on 8 Jun 2012, 18:30 last edited by
                #7

                Thanks for the info, buddy!

                1 Reply Last reply
                0

                1/7

                8 Jun 2012, 09:51

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved