docs.unity3d.com
    Show / Hide Table of Contents

    Enum SampleUnit

    Measurement unit used for sample groups.

    Namespace: Unity.PerformanceTesting
    Syntax
    public enum SampleUnit

    Fields

    Name Description Value
    Nanosecond

    Nanoseconds.


    0
    Microsecond

    Microseconds.


    1
    Millisecond

    Milliseconds.


    2
    Second

    Seconds.


    3
    Byte

    Bytes.


    4
    Kilobyte

    Kilobytes.


    5
    Megabyte

    Megabytes.


    6
    Gigabyte

    Gigabytes.


    7
    Undefined

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


    8
    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