Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 5 performance analysis on a Windows 10 platform
Forum Updated to NodeBB v4.3 + New Features

QtCreator 5 performance analysis on a Windows 10 platform

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 1.5k Views 2 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.
  • S Offline
    S Offline
    Sampo Paukkonen
    wrote on last edited by
    #1

    Hello! How can one do a performance analysis of a QtCreator 5 application on a Windows 10 platform? I am aware of the Perf tool compatibility of QtCreator, but when choosing Analyze -> Performance Analyzer, I just get an error indicating that: "Make sure that you are running a recent linux kernel and that the 'perf' utility is available." Is the only real solution to switch to a Linux platform, at least for the performance analysis, or do I just have to indicate a proper path to a Perf like tool in QtCreator's settings. In the latter case, what option should I modify?

    1 Reply Last reply
    1
    • artwawA Offline
      artwawA Offline
      artwaw
      wrote on last edited by
      #2

      perf is a Linux tool only. There are some options for windows (I recommend google and this post from SO).

      It might be easier though (I, for one, use this approach whenever needed) to start precise QTimer instance before the part of the code you wish to measure and stop it afterwards, displaying the elapsed time.

      For more information please re-read.

      Kind Regards,
      Artur

      1 Reply Last reply
      1
      • M Offline
        M Offline
        mchinand
        wrote on last edited by
        #3

        Should the 'Performance Analyzer' menu item then be grayed out on non-Linux systems to make it clear to the user that it's not available?

        artwawA 1 Reply Last reply
        2
        • M mchinand

          Should the 'Performance Analyzer' menu item then be grayed out on non-Linux systems to make it clear to the user that it's not available?

          artwawA Offline
          artwawA Offline
          artwaw
          wrote on last edited by
          #4

          @mchinand Don't know, please ask people who maintain QtCreator.

          For more information please re-read.

          Kind Regards,
          Artur

          1 Reply Last reply
          1
          • JonBJ JonB referenced this topic on

          • Login

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