returns sum measurement in nanoseconds subject to counters precision . concode_field_sep Precision p concode_elem_sep long SEC concode_elem_sep int bigSumSecsIndex concode_elem_sep int power1Base concode_elem_sep long[] counts concode_elem_sep long US concode_elem_sep int stripe concode_elem_sep long MIN concode_elem_sep int nBits concode_elem_sep int bigCountIndex concode_elem_sep long MS concode_elem_sep int nTotal concode_field_sep void add concode_elem_sep void addMeasurement concode_elem_sep int getIndexUnlimited concode_elem_sep long getMaxNanos concode_elem_sep String fmt concode_elem_sep void copyFrom concode_elem_sep long computePercentileNanos concode_elem_sep long getMedianNanos concode_elem_sep long getUpperNanos concode_elem_sep String formatNanos concode_elem_sep long getMinNanos concode_elem_sep String toString concode_elem_sep void copyFromDiff concode_elem_sep long getCount concode_elem_sep long getAverageNanos concode_elem_sep double getNanosAt concode_elem_sep long getLowerNanos
double function ( ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 <= p . bigCountIndex ; loc1 ++ ) { long loc2 = AtomicArrays . INSTANCE . getVolatileLong ( counts , loc1 ) ; if ( loc2 > 0 ) loc0 += loc2 * getNanosAt ( loc1 , 0.5 ) ; } return loc0 ; }