473,662 Members | 2,596 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I determine if a CPU supports Uniprocessors/Multiprocessors or only ACPI

I have an application I'm supporting that needs to determine whether or
not a CPU supports Uni/Multi-processors or just ACPI. The original
developer determined this by testing the CPUID features bits against
0xBFF(Uni/Multi support) and 0x9FF (ACPI only support).

This doesn't seem to be working properly with some of the newer Intel
Chipsets (i915M, i945M, etc).

I know very little about the CPUID and the feature sets. I was
wondering if anyone out there could help me understand this and
hopefully help me figure out a more reliable way to make this
determination.

Thanks!

Nov 1 '06 #1
3 1371
cw*****@bigbang llc.com wrote:
I have an application I'm supporting that needs to determine whether or
not a CPU supports Uni/Multi-processors or just ACPI. The original
developer determined this by testing the CPUID features bits against
0xBFF(Uni/Multi support) and 0x9FF (ACPI only support).

This doesn't seem to be working properly with some of the newer Intel
Chipsets (i915M, i945M, etc).

I know very little about the CPUID and the feature sets. I was
wondering if anyone out there could help me understand this and
hopefully help me figure out a more reliable way to make this
determination.
And your C++ language question would be? Please see:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Nov 1 '06 #2


On Oct 31, 7:16 pm, red floyd <no.s...@here.d udewrote:
cwal...@bigbang llc.com wrote:
I have an application I'm supporting that needs to determine whether or
not a CPU supports Uni/Multi-processors or just ACPI. The original
developer determined this by testing the CPUID features bits against
0xBFF(Uni/Multi support) and 0x9FF (ACPI only support).
This doesn't seem to be working properly with some of the newer Intel
Chipsets (i915M, i945M, etc).
I know very little about the CPUID and the feature sets. I was
wondering if anyone out there could help me understand this and
hopefully help me figure out a more reliable way to make this
determination.A nd your C++ language question would be? Please see:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
I guess my C++ question would be: Using C++, how do I determine whether
or not the CPU supports Uniprocessors/Multiprocessors or just ACPI?

Nov 1 '06 #3
Rymfax wrote:
[..]
I guess my C++ question would be: Using C++, how do I determine
whether or not the CPU supports Uniprocessors/Multiprocessors or just
ACPI?
The answer to your question is "there is no means in C++ language and
library to do that". You need to use OS-specific mechanism for that.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Nov 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6570
by: Bob Finger | last post by:
Anybody know where I can find information on accessing the ACPI (Advanced Configuration and Power Interface) from VB.Net or C#? Specifically, I need to create a service that reports on the battery status of a tablet PC. TIA, -bob
2
1724
by: Marcia Gulesian | last post by:
How can I determine the version of Safari (for example, 1.0.2 or 1.2.2) that's downloaded a document?
1
1728
by: Ashabul Yeameen | last post by:
I am writing a program which at some point need to call fputwc() function. But since I want to make this code portable I've decided to write my own fputwc() funcion where the compiler doesn't supply this funcion. But how to determine whether the compiler supports wide character or not (depending on which my funcion will compile). Is there any preprocessor directive? thanks in advance -Yeameen
2
1310
by: ljlevend | last post by:
Is there a way to determine whether font supports ClearType? Thanks, Lance
1
1864
by: Dave Harrington | last post by:
Greetings all - We have a client who uses Lotus Notes as their default e-mail. The version of Lotus they use can run internet explorer windows within Lotus. I'd like to find if they are launching our web application through lotus notes or not. I've stumbled across the following code: private void Button1_Click(object sender, System.EventArgs e)
1
4807
by: Thi | last post by:
Hi, I am trying to develop an application that allows the users to drag a few file(s) from a zip archive to a destination. My question is, how do i determine where the drop destination is because i need to do some validation checking before extracting the files from the zip archive (e.g. validate archive password). Any help or some sample codes would be very much appreciated.
1
1601
by: Marcin Kalicinski | last post by:
Is there a way, using template metaprogramming techinques like e.g. SFINAE, to determine at compile time if a type supports certain operation (for example if operator == is defined for that type)? // Function for types supporting == template<class Tbool func(T t) { if (t == 3) return true; else
0
8992
ADezii
by: ADezii | last post by:
When you create an ADO Recordset, you should have some idea as to what functionality the Recordset does/does not provide. Some critical questions may, and should, be: Can I add New Records to the Recordset? Does the Recordset support Bookmarks? Can we use the Find and/or Seek Methods with this Recordset? Does the Recordset support the use of Indexes? Will the Absoluteposition property be able to be used on this Recordset? etc....
0
1053
by: =?Utf-8?B?R29yZG9uIFQgSmFja3Nvbg==?= | last post by:
We are running an non PPM ACPI Supermicro MB with a newly installed power supply. Attempts to encode video to compressed formats have created poor processor performance with extremely high Kernel actively from Intelppm.sys consuming upwards of 47% of CPU time and Ntoskrnl using 37% per Kernrate. Page file size is 2303 MB on C: drive 12836 MB free. 12V DC CPU power to MB appears to be functional as all other applications execute OK &...
0
8435
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8768
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7368
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.