题
What is the preprocessor definition CPU_STATE_MAX and what is it used for? I couldn't find any descriptive/relevant google results or man pages.
I am on Mac OSX Snowleopard, if that makes any difference.
解决方案
See this--it corresponds to the number of CPU states defined in the machine.h
header. These different states are then used to index different pieces of information about the CPU state, which can differ by CPU state--idle, 'nice', etc.
不隶属于 StackOverflow