docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProfilerStat

    Inheritance
    object
    ProfilerStat
    ProfilerIncStat
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MLAPI.Profiling
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    public class ProfilerStat

    Constructors

    ProfilerStat(string)

    Declaration
    public ProfilerStat(string name)
    Parameters
    Type Name Description
    string name

    Fields

    Data

    Declaration
    protected LinkedList<Sample> Data
    Field Value
    Type Description
    LinkedList<Sample>

    LastCount

    Declaration
    protected float LastCount
    Field Value
    Type Description
    float

    LastTime

    Declaration
    protected float LastTime
    Field Value
    Type Description
    float

    MaxSamples

    Declaration
    protected int MaxSamples
    Field Value
    Type Description
    int

    PrettyPrintName

    Declaration
    public string PrettyPrintName
    Field Value
    Type Description
    string

    Methods

    Record(int)

    Declaration
    public virtual void Record(int amt = 1)
    Parameters
    Type Name Description
    int amt

    SampleRate()

    Declaration
    public virtual float SampleRate()
    Returns
    Type Description
    float
    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)