Struct SampleGroupDefinition | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SampleGroupDefinition

    Namespace: Unity.PerformanceTesting
    Syntax
    [Serializable]
    public struct SampleGroupDefinition

    Constructors

    SampleGroupDefinition(String, SampleUnit, AggregationType, Double, Boolean, Boolean)

    Declaration
    public SampleGroupDefinition(string name = "Time", SampleUnit sampleUnit = SampleUnit.Millisecond, AggregationType aggregationType = AggregationType.Median, double threshold = 0.15, bool increaseIsBetter = false, bool failOnBaseline = true)
    Parameters
    Type Name Description
    System.String name
    SampleUnit sampleUnit
    AggregationType aggregationType
    System.Double threshold
    System.Boolean increaseIsBetter
    System.Boolean failOnBaseline

    SampleGroupDefinition(String, SampleUnit, AggregationType, Double, Double, Boolean, Boolean)

    Declaration
    public SampleGroupDefinition(string name, SampleUnit sampleUnit, AggregationType aggregationType, double percentile, double threshold = 0.15, bool increaseIsBetter = false, bool failOnBaseline = true)
    Parameters
    Type Name Description
    System.String name
    SampleUnit sampleUnit
    AggregationType aggregationType
    System.Double percentile
    System.Double threshold
    System.Boolean increaseIsBetter
    System.Boolean failOnBaseline

    Fields

    AggregationType

    Declaration
    public AggregationType AggregationType
    Field Value
    Type Description
    AggregationType

    FailOnBaseline

    Declaration
    public bool FailOnBaseline
    Field Value
    Type Description
    System.Boolean

    IncreaseIsBetter

    Declaration
    public bool IncreaseIsBetter
    Field Value
    Type Description
    System.Boolean

    Name

    Declaration
    public string Name
    Field Value
    Type Description
    System.String

    Percentile

    Declaration
    public double Percentile
    Field Value
    Type Description
    System.Double

    SampleUnit

    Declaration
    public SampleUnit SampleUnit
    Field Value
    Type Description
    SampleUnit

    Threshold

    Declaration
    public double Threshold
    Field Value
    Type Description
    System.Double
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023