docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SampleUnit

    Measurement unit used for sample groups.

    Namespace: Unity.PerformanceTesting
    Assembly: Unity.PerformanceTesting.dll
    Syntax
    public enum SampleUnit

    Fields

    Name Description
    Byte

    Bytes.

    Gigabyte

    Gigabytes.

    Kilobyte

    Kilobytes.

    Megabyte

    Megabytes.

    Microsecond

    Microseconds.

    Millisecond

    Milliseconds.

    Nanosecond

    Nanoseconds.

    Second

    Seconds.

    Undefined

    Undefined, represents any other unit we don't have by default. When using it make sure your sample group name represents the measurement.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)