GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CPU_MODEL (3)

NAME

cpu_model - Contains the Intel CPU submodel. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

extern int cpu_model;

DESCRIPTION

Contains the CPU submodel, where applicable. Allegro defines at least the following CPU family types (see include/allegro/system.h for a more complete list):

   CPU_FAMILY_I586:
      CPU_MODEL_PENTIUM, CPU_MODEL_K5, CPU_MODEL_K6
  
   CPU_FAMILY_I686:
      CPU_MODEL_PENTIUMPRO, CPU_MODEL_PENTIUMII,
      CPU_MODEL_PENTIUMIIIKATMAI, CPU_MODEL_PENTIUMIIICOPPERMINE,
      CPU_MODEL_ATHLON, CPU_MODEL_DURON
  
   CPU_FAMILY_EXTENDED:
      CPU_MODEL_PENTIUMIV, CPU_MODEL_XEON,
      CPU_MODEL_ATHLON64, CPU_MODEL_OPTERON
  
   CPU_FAMILY_POWERPC:
      CPU_MODEL_POWERPC_x, for x=601-604, 620, 750, 7400, 7450
  

You can read this variable after you have called check_cpu() (which is automatically called by allegro_init()). Make sure you check the cpu_family and cpu_vendor so you know which models make sense to check.

SEE ALSO

check_cpu(3), cpu_vendor(3), cpu_family(3), cpu_capabilities(3), allegro_init(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro CPU_MODEL (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.