Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6541

QTimer eats up too much cpu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.6.0
    • Core: Event loop
    • None
    • linux, opensuse 11.2 64 bit

    Description

      Hi,

      It seems that QTimer eats too much cpu resources on linux (tested on opensuse 11.2 64 bit).

      Here are the numbers on my linux box (with empty timeout handler):
      timeout millisec, cpu usage
      1, 80-90%
      2, 40%
      3, 24%
      4, 20%
      5, 14%
      10, 8%
      20, 2%
      40, ~0%

      I run the same test under win32 on the very same hardware and all of the results was ok, about 0%.

      Thanks,
      Csaba

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stormols Marius Storm-Olsen
            cfekete Csaba Fekete
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes