Results 1 to 4 of 4

Thread: PyQt4 app : high CPU usage from python and Xorg

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: PyQt4 app : high CPU usage from python and Xorg

    HI!

    Sorry to wake up an old thread, but did you ever get this problem fixed? I have noticed the same problem that my applications use 100% cpu usage when I call the update() function from widgets periodically.

    S

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: PyQt4 app : high CPU usage from python and Xorg

    have you run a profiler? Just because cpu is at 100% doesn't mean there is a bug with an easy fix. You should consider if you calling update will result in feedback loop of update->update->update etc.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.