Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top