CPU usage at 18% when running my game
-
- Posts: 51
- Joined: Fri May 30, 2014 12:55 am
CPU usage at 18% when running my game
Is it normal for an irrlicht application to take up 18% of CPU usage pretty much all the time its between 12-18% cpu usage.
Re: CPU usage at 18% when running my game
That's exactly what mine uses ;p
Dream Big Or Go Home.
Help Me Help You.
Help Me Help You.
Re: CPU usage at 18% when running my game
Use vsync to limit cpu usage to visible fps.
Re: CPU usage at 18% when running my game
A main-loop will take all the processing power it can get (every loop does). Which in a single-threaded application means it will use one processor. If it uses less then there is some place where the application releases the processor (aka - some sleep call).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 51
- Joined: Fri May 30, 2014 12:55 am
Re: CPU usage at 18% when running my game
I'm already delaying by 10ms every loop around