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. [EDIT]Very high CPU usage because of timer.
QtWS25 Last Chance

[EDIT]Very high CPU usage because of timer.

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 836 Views
  • 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.
  • V Offline
    V Offline
    Vect0rZ
    wrote on last edited by
    #1

    Hey,

    I just checked that the CPU usage of my custom project is somewhere near 50% even on idle mode.

    So I decided to create a new project with nothing on, to test if it's just normal to be 50% but the new project was 0% CPU load.

    [EDIT]

    Timer was the cause of high CPU usage, is that normal if I didn't set any milliseconds?

    Thanks in advance!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Without any code, it's not really possible to answer your question.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        No. Can u post sample code ? Which platform ?

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        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