Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
CPU core loaded to 100% when sfml app is launched
Print
Pages: [
1
]
Author
Topic: CPU core loaded to 100% when sfml app is launched (Read 1133 times)
0 Members and 1 Guest are viewing this topic.
excentio
Newbie
Posts: 21
CPU core loaded to 100% when sfml app is launched
«
on:
February 08, 2015, 08:21:46 pm »
hello there guys, I have a problem, when I'm compiling that "test" code for sfml, I see that one of my core immediately become loaded from 1 - 3% to 80 - 100% and that's kinda strange, isn't that too much for an sfml or maybe that's my hardware issue ? Haven't tested this on other computers, here are screenshots :
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
AW: CPU core loaded to 100% when sfml app is launched
«
Reply #1 on:
February 08, 2015, 08:28:19 pm »
You're not limiting the framerate, as such your application will run as fast as possible maxing your CPU core.
Either enable vsync or the set a frame limit, see the documentation.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
excentio
Newbie
Posts: 21
Re: CPU core loaded to 100% when sfml app is launched
«
Reply #2 on:
February 08, 2015, 08:45:14 pm »
thanks for help, it now uses 1 - 2% of cpu :3
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
CPU core loaded to 100% when sfml app is launched