Author Topic: Bug: Uses CPU...  (Read 5223 times)

Offline arnix

  • Single posting newcomer
  • *
  • Posts: 5
Bug: Uses CPU...
« on: November 04, 2006, 08:15:11 am »
Hi, while running, CodeBlocks uses some CPU time even when it is just idle. It is not correct, even much more bigger applications don't use any CPU time while being idle. It uses 11-13% of my 700mhz Celeron. Thank you. Here is a screenshot:


[attachment deleted by admin]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Bug: Uses CPU...
« Reply #1 on: November 04, 2006, 08:26:00 am »
It is not correct, even much more bigger applications don't use any CPU time while being idle.
Well, much bigger applications might not have a cursor that blinks nicely in an editor.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Bug: Uses CPU...
« Reply #2 on: November 04, 2006, 08:27:47 am »
That means bigger applications don't do so much on idle processing.

Offline arnix

  • Single posting newcomer
  • *
  • Posts: 5
Re: Bug: Uses CPU...
« Reply #3 on: November 04, 2006, 08:34:22 am »
Well, much bigger applications might not have a cursor that blinks nicely in an editor.
With regards, Morten.

:] You really think that the the blinking cursor uses 12% of CPU time? I think there is some much cost loop which doing something non-stop, maybe it is possible to, for example, pause it when the window is minimized, or do something else. Of cource, with current CPUs with 3000+ MHz freq. it is very small amount of CPU time, but with older processors it is not small. Sorry if bad English.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Bug: Uses CPU...
« Reply #4 on: November 04, 2006, 08:40:29 am »
:] You really think that the the blinking cursor uses 12% of CPU time?
Of course not. But if you search in the forum for e.g. "cpu usage" you will realise that this has been discussed several times (look here for example: http://forums.codeblocks.org/index.php?topic=467.0).
If CPU usage matters to you you could try to disable the one or other plugin you don't need/use which will lower the CPU usage.
With regards, Morten.

Edit: I actually meant this (more recent) topic: http://forums.codeblocks.org/index.php?topic=4303.0... ;-)
« Last Edit: November 04, 2006, 08:43:35 am by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline arnix

  • Single posting newcomer
  • *
  • Posts: 5
Re: Bug: Uses CPU...
« Reply #5 on: November 04, 2006, 08:44:45 am »
Well, I re-read my first post and understood that it could hurt/wound developer's feelings, because he could think that I want to say that the developers of bigger applications are smarter and they are writing their code better than you. No, no, no, I didn't have it in view. I know that you are professional developers and are doing so much nice work for everybody, under free license. By saying that I just wanted to prevent possible posts that "the program is heavy and so it is using much CPU time".

Quote
Of course not. But if you search in the forum for e.g. "cpu usage" you will realise that this has been discussed several times (look here for example: http://forums.codeblocks.org/index.php?topic=467.0).
If CPU usage matters to you you could try to disable the one or other plugin you don't need/use which will lower the CPU usage.
With regards, Morten

Thank you, I will read it. I should use the search before...