Search found 5 matches

by CoreTemp-User315
Wed Aug 05, 2009 4:09 am
Forum: Core Temp - Discussion
Topic: Setting max temperature.
Replies: 2
Views: 7278

I wrote an application that uses Core Temp's API to monitor the temperature and switch active power profiles at a certain threshold (to cool the CPU temperature down by throttling back the clock if it gets too hot). It's been working really well. If you want to host it on your web site, I will send ...
by CoreTemp-User315
Tue Jul 28, 2009 1:16 pm
Forum: Core Temp - Development
Topic: HOWTO: Using Core Temp shared memory with C++
Replies: 0
Views: 11646

HOWTO: Using Core Temp shared memory with C++

This describes how to use the Core Temp shared memory API with Visual C++. A similar method can be used for any other compiler (difference is import library tool and #pragma directives). Since there were a couple of steps involved, I figure I'd share it here. This assumes basic knowledge of creating...
by CoreTemp-User315
Tue Jul 28, 2009 12:34 pm
Forum: Core Temp - Development
Topic: Alignment of CORE_TEMP_SHARED_DATA.
Replies: 1
Views: 8289

It appears to be 4 bytes, for anybody reading this, e.g. in VC++ you'd want to surround the structure definition with:

Code: Select all

#pragma pack (push, 4)

struct CORE_TEMP_SHARED_DATA {
  ...
};

#pragma pack (pop)
by CoreTemp-User315
Tue Jul 28, 2009 3:51 am
Forum: Core Temp - Development
Topic: Alignment of CORE_TEMP_SHARED_DATA.
Replies: 1
Views: 8289

Alignment of CORE_TEMP_SHARED_DATA.

What is the field alignment of the CORE_TEMP_SHARED_DATA structure described at http://www.alcpu.com/CoreTemp/developers.html? Unless I'm missing it, it doesn't say it on the page.

Specifically, are ucFahrenheit and ucDeltaToTjMax adjacent in memory, or is there any padding between them?

Thanks.
by CoreTemp-User315
Tue Jul 28, 2009 3:39 am
Forum: Core Temp - Discussion
Topic: Setting max temperature.
Replies: 2
Views: 7278

Setting max temperature.

How do I change the overheat temperature threshold? Tj. Max is set to 212 F but this is not correct, my machine halts at around 208 F (there's built-in protection on the motherboard), so the overheat protection is not useful. My goal is to execute a program that throttles down the clock speed at aro...

Go to advanced search