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>, List<String>, Int32, Boolean, String, Single)

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

    GetProgress()

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

    GetThreadNames()

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

    IsNullOrWhiteSpace(String)

    Declaration
    public bool IsNullOrWhiteSpace(string s)
    Parameters
    Type Name Description
    System.String s
    Returns
    Type Description
    System.Boolean

    MatchThreadFilter(String, List<String>)

    Declaration
    public static bool MatchThreadFilter(string threadNameWithIndex, List<string> threadFilters)
    Parameters
    Type Name Description
    System.String threadNameWithIndex
    System.Collections.Generic.List<System.String> threadFilters
    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