object Distribution
- Alphabetic
- By Inheritance
- Distribution
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Bucket extends AnyRef
Describes a single bucket within a distribution.
- trait Percentile extends AnyRef
Indicates the value bellow which a given percentage (or rank) of the entire distribution are.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def convert(distribution: Distribution, unit: MeasurementUnit, toUnit: MeasurementUnit, toDynamicRange: DynamicRange): Distribution
Tries to convert the a distribution to the provided unit and dynamic range.
Tries to convert the a distribution to the provided unit and dynamic range. Take into account that since Distributions are based on buckets with integer boundaries, converting from greater to lower magnitudes (e.g. from seconds to milliseconds) will always preserve precision, but the same is not true when converting the way around (e.g. from milliseconds to seconds) since the conversion could produce floating point result like which will always be rounded to the nearest integer equal or greater than 1. For example, when converting a value of 3500 milliseconds to seconds, the converted value of 3.2 seconds will be rounded down to 3 seconds and when converting a value of 300 milliseconds to seconds, it will be rounded up to 1 (the smallest possible value in a histogram).
If the distribution and target unit dimensions are not the same then a warning will be logged and the distribution will be returned unchanged.
- def convert(distribution: Distribution, unit: MeasurementUnit, toUnit: MeasurementUnit): Distribution
Tries to convert a distribution to the provided unit.
Tries to convert a distribution to the provided unit. Take into account that since Distributions are based on buckets with integer boundaries, converting from greater to lower magnitudes (e.g. from seconds to milliseconds) will always preserve precision, but the same is not true when converting the way around (e.g. from milliseconds to seconds) since the conversion could produce floating point result like which will always be rounded to the nearest integer equal or greater than 1. For example, when converting a value of 3500 milliseconds to seconds, the converted value of 3.2 seconds will be rounded down to 3 seconds and when converting a value of 300 milliseconds to seconds, it will be rounded up to 1 (the smallest possible value in a histogram).
If the distribution and target unit dimensions are not the same then a warning will be logged and the distribution will be returned unchanged.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(left: Distribution, right: Distribution, dynamicRange: DynamicRange): Distribution
Merges two distributions into a new one, which includes the values from both distributions, adjusting the values to the provided dynamic range if necessary.
- def merge(left: Distribution, right: Distribution): Distribution
Merges two distributions into a new one, which includes the values from both distributions.
Merges two distributions into a new one, which includes the values from both distributions. The resulting distribution will always have the dynamic range of the "left" distribution.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()