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. Non commercial profiler for minGW with multithreading support
Forum Updated to NodeBB v4.3 + New Features

Non commercial profiler for minGW with multithreading support

Scheduled Pinned Locked Moved General and Desktop
8 Posts 7 Posters 8.4k 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.
  • B Offline
    B Offline
    bahbah30
    wrote on last edited by
    #1

    Hallo,

    do you know one non commercial profiler for minGW with multithreading support?

    thanks!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Cairo
      wrote on last edited by
      #2

      Shark works just fine on OSX.

      Shark guide – http://developer.apple.com/tools/sharkoptimize.html
      Shark download – http://www.macupdate.com/app/mac/8506/apple-chud-tools

      Note Shark is a profiler which is part of the Computer Hardware Understanding Developer Tools (CHUD Tools).

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on last edited by
        #3

        Cairo: minGW is for windos, not for OSX.

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Yes Shark is really nice, unfortunately it does not match the criteria at all, being a Mac-only commercial tool.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            ludde
            wrote on last edited by
            #5

            What about gprof? Does it not work with multithreading?

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Cairo
              wrote on last edited by
              #6

              My bad. I was recommended to try AMD CodeAnalyst for Windows/Linux.
              It's free and it works on Intel processors too.

              http://developer.amd.com/tools/codeanalyst/pages/default.aspx

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aureshinite
                wrote on last edited by
                #7

                I usually profile my application on linux only even if It will be deployed on Windows too. Why ? The windows profilers expect Windows debugging symbols, while minGW insert the ones used by the gcc family.

                Aside of that I second Cairo for AMD CodeAnalyst, but you should also look at Intel Vtune Amplifier.
                There are different kind of analysis, from hot spots (code which take most of cpu time), Thread , Concurrency analysis, and other I didn't use yet. I seriously doubt that there is a better profiler than Vtune.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tomq
                  wrote on last edited by
                  #8

                  As a summary, the requirements were:

                  Multithreading support

                  Non-commercial

                  MinGW support

                  The main problem as pointed out by aureshinite is that profilers for windows typically don't understand debug information (symbols) from gcc. So most of the propositions so far fall short:

                  • Shark: commercial, doesn't work with MinGW, or even Windows
                  • AMD CodeAnalyst: free, but doesn't work with MinGW either. Its successor CodeXL is also free and supports MinGW-compiled executables... from the upcoming version 1.3.
                  • VTune Amplifiter: Now supports MinGW (since mid 2013...), but is commercial.

                  At the moment, I could not find any free profilers that support MinGW except for gprof, but gprof is not exactly ideal. It's quite limited in functionality. It's complementary with manual sampling (=repeatedly pausing during the execution or troublesome code to figure out what is slow).

                  Commercial tools that support it are rare, I could only find two:

                  • VTune
                  • AQTime

                  They both are relatively affordable, if you're a company.

                  1 Reply Last reply
                  0

                  • Login

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