cpu_model(3alleg4) Allegro manual cpu_model(3alleg4)NAME
cpu_model - Contains the Intel CPU submodel. Allegro game programming library.
extern int cpu_model;
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_MODEL_PENTIUM, CPU_MODEL_K5, CPU_MODEL_K6
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(3alleg4), cpu_vendor(3alleg4), cpu_family(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4)Allegro version 4.4.2 cpu_model(3alleg4)
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)