Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # dev >> ResourceCalculatorPlugin.getCpuUsage


Copy link to this message
-
ResourceCalculatorPlugin.getCpuUsage
float ResourceCalculatorPlugin.getCpuUsage() with javadoc comment
  /**
    * Obtain the CPU usage % of the machine. Return -1 if it is unavailable
    *
    * @return CPU usage in %
    */

is supposed to return 1.0 or 100.0 for fully CPU utilised machine?