Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

check_cpu(3alleg4) [centos man page]

check_cpu(3alleg4)						  Allegro manual						check_cpu(3alleg4)

check_cpu - Detects the CPU type. Allegro game programming library. SYNOPSIS
#include <allegro.h> void check_cpu(); DESCRIPTION
Detects the CPU type, setting the following global variables. You don't normally need to call this, because allegro_init() will do it for you. SEE ALSO
cpu_vendor(3alleg4), cpu_family(3alleg4), cpu_model(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4) Allegro version 4.4.2 check_cpu(3alleg4)

Check Out this Related Man Page

cpu_family(3alleg4)						  Allegro manual					       cpu_family(3alleg4)

cpu_family - Contains the CPU type. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern int cpu_family; DESCRIPTION
Contains the Intel type, where applicable. Allegro defines the following CPU family types: CPU_FAMILY_UNKNOWN - The type of processor is unknown CPU_FAMILY_I386 - The processor is an Intel-compatible 386 CPU_FAMILY_I486 - The processor is an Intel-compatible 486 CPU_FAMILY_I586 - The processor is a Pentium or equivalent CPU_FAMILY_I686 - The processor is a Pentium Pro, II, III or equivalent CPU_FAMILY_ITANIUM - The processor is an Itanium processor CPU_FAMILY_POWERPC - The processor is a PowerPC processor CPU_FAMILY_EXTENDED - The processor type needs to be read from the cpu_model You can read this variable after you have called check_cpu() (which is automatically called by allegro_init()). SEE ALSO
check_cpu(3alleg4), cpu_vendor(3alleg4), cpu_model(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4) Allegro version 4.4.2 cpu_family(3alleg4)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

command for check CPU

Can someone tell me which command I should use to get the detail CPU info in one HP unix box, asuch as # of CPU, CPU Speed and CPU HW Support Thanks (2 Replies)
Discussion started by: abcde
2 Replies

2. Shell Programming and Scripting

how to check CPU consume time by unix script.

Hi, I searched for any answers to this query bu in vain. My question is , Is their any script or command to check how much CPU time is been taken by a script. thanks. (1 Reply)
Discussion started by: Rakesh Bhat
1 Replies

3. SCO

How to check CPU Utilization

Hi All, I want to check the CPU Utilization for my SCO UNIX machine. Please suggest some commands to do that. Thanks, Am (2 Replies)
Discussion started by: am_yadav
2 Replies

4. Shell Programming and Scripting

check cpu usage

Hi, Are there previous threads on perl scripts that check the cpu usage and send email whenever this exceeded a certain threshold? Thanks. (3 Replies)
Discussion started by: gholdbhurg
3 Replies

5. Solaris

How to check CPU spike between certain priod of time

Hi, Does anyone know how to check which process has been used the most CPU between certain time period? say I have noticed CPU spike happend between 1:00 to 1:30 now it is 3:00 o'clock already. Is there anyway to find out what process/PID use the most CPU then? Thanks a lot (3 Replies)
Discussion started by: uuontario
3 Replies