-
12-02-2010, 09:08 AM #1Junior Member
- Ngày tham gia
- Sep 2015
- Bài viết
- 0
Using __cpuid to get CPU information!!!
- This is really nescessary when you develop an application which require specific technology of CPU(like SIMD, Multithreading, ...). We can get CPUs informations very easy in Windows by using __cpuid instruction. It is really long and require a little time, so if you feel...lazy [IMG]images/smilies/biggrin.png[/IMG], just use my class below. Every technologies and functions are used for naming the functions, so you dont have to take time for finding them [IMG]images/smilies/wink.png[/IMG] ! For example, to check whether your CPU support SSE2 extensions or not, you can use IsSupport_SSE2 function.
- When calling __cpuid, all your CPU information will be returned in four register EAX,EBX,ECX and EDX which are then be stored in int[4] array. Every bit in these register represent a functions, the list is very looooooooooooong, you can check in MSDN for more information. As I said before, If you dont mind, just use my class to save time [IMG]images/smilies/biggrin.png[/IMG]!
- Here is my class (included sample project) (it's quite long, so I uploaded them for your convenient [IMG]images/smilies/wink.png[/IMG] )
http://www.mediafire.com/file/vtomnonemny/TestCPUID.zip
View more random threads:
- Danh sách tham số có số lượng thay đổi bất kỳ
- Vì ۩ sao ✦ backlink ✦ trong ❈ bài ✲ viết ✥ lại ✪ mang ❈ giá ✲ trị ✪ cao ۞ ?
- Cửa Hàng Cài Phần Mềm Cad Nhanh Chóng Tại Nhà Quận 6
- Sử dụng DLL files trong Visual C++ 2005
- Hướng dẫn viết một chương trình Sniffer
- Hướng dẫn viết một game đơn giản trong DirectX từ A - Z
- Làm quen với lập trình MFC - VS2008
- GF GameFrameWork đơn giản cho dân gà.
- Hướng dẫn viết hack game (game trainer)
- Một số hàm về Message
Ngọc Bích xanh bản chất thuộc dòng đá đá hoa (jade). Và cẩm thạch là tên gọi chung của ngọc bích. Vì thực chất chúng thuộc dòng đá đa khoáng được hình thành từ chất Silicat dưới dạng dioxy. Ngọc bích...
Chia sẻ Vòng tay ngọc bích xanh là...