static FXuint FX::FXProcess::processorFull (  )  [inline, static]

Returns an index 0...3 of how full the processor is.

Definition at line 308 of file FXProcess.h.

00309     {
00310         FXfloat v=hostOSProcessorLoad();
00311         if(v<0.95) return 0;
00312         else if(v<0.98) return 1;
00313         else if(v<1.0) return 2;
00314         else return 3;
00315     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:35:40 2009 for TnFOX by doxygen v1.4.7