Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CPU uasage is very high for Application

CPU uasage is very high for Application

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 4 Posters 0 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.
  • Z Offline
    Z Offline
    zahid_ash
    wrote on last edited by
    #1

    HI, My applicaion is using CPU value 99 in task manager, that makes makes the machine slow, How can i reduce the cpu usage , or how can i detect which part is gettting more cpu. Thanks Regards.Hi,

    C H N 3 Replies Last reply
    0
    • Z zahid_ash

      HI, My applicaion is using CPU value 99 in task manager, that makes makes the machine slow, How can i reduce the cpu usage , or how can i detect which part is gettting more cpu. Thanks Regards.Hi,

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      If you don't provide more info, we won't be able to help. It's not by reposting the same question twice without more details that you will get an answer. First, try to locate where to problem comes from. What are you doing continuously that take so much time ? Once you located that, you can still put some sleep in it to free some CPU time (not very elegant but works).


      Cédric Moonen Software developer
      Charting control

      1 Reply Last reply
      0
      • Z zahid_ash

        HI, My applicaion is using CPU value 99 in task manager, that makes makes the machine slow, How can i reduce the cpu usage , or how can i detect which part is gettting more cpu. Thanks Regards.Hi,

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        Can you be more specific_**


        **_

        whitesky


        1 Reply Last reply
        0
        • Z zahid_ash

          HI, My applicaion is using CPU value 99 in task manager, that makes makes the machine slow, How can i reduce the cpu usage , or how can i detect which part is gettting more cpu. Thanks Regards.Hi,

          N Offline
          N Offline
          neilsolent
          wrote on last edited by
          #4

          Most likely cause is a for or while loop that does not end because there is a bad value of a variable or wrong assumption in the code somewhere cheers, Neil

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups