+ public native double getCurrentLoad();
+ /** Returns the number of flops computed of the host since the beginning of the simulation */
+ public native double getComputedFlops();
+ /** Returns the average load of the host as a ratio since the beginning of the simulation*/
+ public native double getAvgLoad();
+
+ /** Returns the current pstate */
+ public native int getPstate();
+ /** Changes the current pstate */
+ public native void setPstate(int pstate);
+ public native int getPstatesCount();
+ /** Returns the speed of the processor (in flop/s) at the current pstate. See also @ref plugin_energy. */
+ public native double getCurrentPowerPeak();
+ /** Returns the speed of the processor (in flop/s) at a given pstate. See also @ref plugin_energy. */
+ public native double getPowerPeakAt(int pstate);
+
+ /** Returns the current computation load (in flops per second) */
+ public native double getLoad();
+
+ /** Class initializer, to initialize various JNI stuff */
+ private static native void nativeInit();