Class MvnResourceUsageNormalizedSamples_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.resourceusage.MvnResourceUsageNormalizedSamples_1_0

public class MvnResourceUsageNormalizedSamples_1_0 extends Object
A normalized representation of a list of samples.
  • Field Details

    • samples

      public final byte[] samples
      An array of normalized samples. Each value is normalized to a percentage of the max value, and thus fits in a single byte. This induces a loss of precision.
    • max

      public final long max
      The maximum, non-normalized, value of all samples.
  • Constructor Details

    • MvnResourceUsageNormalizedSamples_1_0

      public MvnResourceUsageNormalizedSamples_1_0(byte[] samples, long max)
  • Method Details