SFML community forums

Help => General => Topic started by: c0d3r9 on February 09, 2018, 09:06:33 pm

Title: ~40% CPU is used running sfml
Post by: c0d3r9 on February 09, 2018, 09:06:33 pm
Is that normal?
I only test it with the code "green circle" of the sfml site.
~20%  are used from the *.exe  and ~20% from a "system" task in taskmanager.

40% for a simple circle?
Title: Re: ~40% CPU is used running sfml
Post by: eXpl0it3r on February 09, 2018, 09:21:50 pm
If you tell your computer to do something as fast as possible what do you think will happen? One core of your CPU will get maxed out.

If you tell your computer to redraw a green circle as fast as possible, even if the monitor can't even display things at that rate, what do you think will happen?

The question has been asked many, many times already. A quick search would have also answered it. ;)
Title: Re: ~40% CPU is used running sfml
Post by: c0d3r9 on February 10, 2018, 01:59:04 am
Oh yes....logical....my mistake  :o