Class ScalarResult

    • Constructor Detail

      • ScalarResult

        public ScalarResult​(java.lang.String label,
                            double n,
                            java.lang.String unit,
                            AggregationPolicy policy)
    • Method Detail

      • getZeroResult

        protected ScalarResult getZeroResult()
        Description copied from class: Result
        Returns "0" result. This is used for un-biased aggregation of secondary results. For instance, profilers might omit results in some iterations, thus we should pretend there were 0 results.
        Overrides:
        getZeroResult in class Result<ScalarResult>
        Returns:
        result that represents "empty" result, null if no sensible "empty" result can be created