Class ProfileAnalysis | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ProfileAnalysis

    Inheritance
    System.Object
    ProfileAnalysis
    Namespace: UnityEditor.Performance.ProfileAnalyzer
    Syntax
    public class ProfileAnalysis

    Constructors

    ProfileAnalysis()

    Declaration
    public ProfileAnalysis()

    Methods

    AddMarker(MarkerData)

    Declaration
    public void AddMarker(MarkerData marker)
    Parameters
    Type Name Description
    MarkerData marker

    AddThread(ThreadData)

    Declaration
    public void AddThread(ThreadData thread)
    Parameters
    Type Name Description
    ThreadData thread

    Finalise(Single, Int32)

    Declaration
    public void Finalise(float timeScaleMax, int maxMarkerDepth)
    Parameters
    Type Name Description
    System.Single timeScaleMax
    System.Int32 maxMarkerDepth

    GetFrameSummary()

    Declaration
    public FrameSummary GetFrameSummary()
    Returns
    Type Description
    FrameSummary

    GetMarker(Int32)

    Declaration
    public MarkerData GetMarker(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    MarkerData

    GetMarkerByName(String)

    Declaration
    public MarkerData GetMarkerByName(string markerName)
    Parameters
    Type Name Description
    System.String markerName
    Returns
    Type Description
    MarkerData

    GetMarkerIndexByName(String)

    Declaration
    public int GetMarkerIndexByName(string markerName)
    Parameters
    Type Name Description
    System.String markerName
    Returns
    Type Description
    System.Int32

    GetMarkers()

    Declaration
    public List<MarkerData> GetMarkers()
    Returns
    Type Description
    System.Collections.Generic.List<MarkerData>

    GetThreadByName(String)

    Declaration
    public ThreadData GetThreadByName(string threadNameWithIndex)
    Parameters
    Type Name Description
    System.String threadNameWithIndex
    Returns
    Type Description
    ThreadData

    GetThreads()

    Declaration
    public List<ThreadData> GetThreads()
    Returns
    Type Description
    System.Collections.Generic.List<ThreadData>

    SetRange(Int32, Int32)

    Declaration
    public void SetRange(int firstFrameIndex, int lastFrameIndex)
    Parameters
    Type Name Description
    System.Int32 firstFrameIndex
    System.Int32 lastFrameIndex

    SetupFrameBuckets(Single)

    Declaration
    public void SetupFrameBuckets(float timeScaleMax)
    Parameters
    Type Name Description
    System.Single timeScaleMax

    SetupMarkerBuckets()

    Declaration
    public void SetupMarkerBuckets()

    SetupMarkers()

    Declaration
    public void SetupMarkers()

    UpdateSummary(Int32, Single)

    Declaration
    public void UpdateSummary(int frameIndex, float msFrame)
    Parameters
    Type Name Description
    System.Int32 frameIndex
    System.Single msFrame
    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