Jump to content

Resting the CPU & Overheat

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Horseshoe

Horseshoe

    Newbie

  • Members
  • Pip
  • 1 posts
Hello,

I was wondering if there is a way to 'rest' the CPU to allow it's temperature to drop during a calculation in C++ before recommencing?

I'm writing some programs that require some pretty chunky large numbers (it's for a Physics problem) but I've running it on my laptop and I don't want it getting too hot. I want something that'll say like if the temperature gets over 70C stop calculating for a while until the temperature drops to like 50C then start again.

I'm new on here and fairly new to programming. I've had a look around the internet but can find nothing.

Many Thanks,

D :)

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
Your laptop should suspend itself if it gets too hot. However, if you really want to do this, try checking these:

WinAPI functions
Using System Performance Logs