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

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

Definition at line 322 of file FXProcess.h.

Referenced by FX::QDictByMemLoadResize(), and FX::QDictByMemLoadResizeAggr().

00323     {
00324         FXfloat v=hostOSMemoryLoad();
00325         if(v<0.95) return 0;
00326         else if(v<0.98) return 1;
00327         else if(v<1.0) return 2;
00328         else return 3;
00329     }


(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