@ Override public void generateSample ( double value , String label ) { PerfMonSampleResult res = new PerfMonSampleResult ( ) ; res . setSampleLabel ( label ) ; res . setValue ( value ) ; res . setSuccessful ( true ) ; SampleEvent e = new SampleEvent ( res , PERFMON ) ; super . sampleOccurred ( e ) ; }
need floating point precision for memory and cpu