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

    Class ProfileAnalyzer

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

    Constructors

    ProfileAnalyzer(ProgressBarDisplay)

    Declaration
    public ProfileAnalyzer(ProgressBarDisplay progressBar)
    Parameters
    Type Name Description
    ProgressBarDisplay progressBar

    Methods

    Analyze(ProfileData, List<Int32>, String, Int32, Single)

    Declaration
    public ProfileAnalysis Analyze(ProfileData profileData, List<int> selectionIndices, string threadFilter, int depthFilter, float timeScaleMax = 0F)
    Parameters
    Type Name Description
    ProfileData profileData
    System.Collections.Generic.List<System.Int32> selectionIndices
    System.String threadFilter
    System.Int32 depthFilter
    System.Single timeScaleMax
    Returns
    Type Description
    ProfileAnalysis

    GetProgress()

    Declaration
    public int GetProgress()
    Returns
    Type Description
    System.Int32

    GetThreadFilterSettings(String, out Boolean, out Boolean)

    Declaration
    public static string GetThreadFilterSettings(string threadFilter, out bool filterThreads, out bool filterThreadGroup)
    Parameters
    Type Name Description
    System.String threadFilter
    System.Boolean filterThreads
    System.Boolean filterThreadGroup
    Returns
    Type Description
    System.String

    GetThreadNames()

    Declaration
    public List<string> GetThreadNames()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    MatchThreadFilter(String, String, Boolean, Boolean)

    Declaration
    public static bool MatchThreadFilter(string threadNameWithIndex, string threadFilter, bool filterThreads, bool filterThreadGroup)
    Parameters
    Type Name Description
    System.String threadNameWithIndex
    System.String threadFilter
    System.Boolean filterThreads
    System.Boolean filterThreadGroup
    Returns
    Type Description
    System.Boolean

    PullFromProfiler(Int32, Int32)

    Declaration
    public ProfileData PullFromProfiler(int firstFrameDisplayIndex, int lastFrameDisplayIndex)
    Parameters
    Type Name Description
    System.Int32 firstFrameDisplayIndex
    System.Int32 lastFrameDisplayIndex
    Returns
    Type Description
    ProfileData

    QuickScan()

    Declaration
    public void QuickScan()
    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