Inheritance
System.Object
ProfileAnalyzerWindow
public class ProfileAnalyzerWindow : EditorWindow
Fields
Declaration
Field Value
Declaration
Field Value
Declaration
public Color m_ColorBarBackground
Field Value
Declaration
public Color m_ColorBarBackgroundSelected
Field Value
Declaration
public Color m_ColorBarSelected
Field Value
Declaration
Field Value
Declaration
public Color m_ColorBoxAndWhiskerBoxColor
Field Value
Declaration
public Color m_ColorBoxAndWhiskerBoxColorLeft
Field Value
Declaration
public Color m_ColorBoxAndWhiskerBoxColorRight
Field Value
Declaration
public Color m_ColorBoxAndWhiskerLineColorLeft
Field Value
Declaration
public Color m_ColorBoxAndWhiskerLineColorRight
Field Value
Declaration
public Color m_ColorGridLines
Field Value
Declaration
Field Value
Declaration
public Color m_ColorLeftSelected
Field Value
Declaration
public Color m_ColorMarker
Field Value
Declaration
public Color m_ColorMarkerSelected
Field Value
Declaration
public Color m_ColorRight
Field Value
Declaration
public Color m_ColorRightSelected
Field Value
Declaration
public Color m_ColorStandardLine
Field Value
m_ColorTextTopMarkers
Declaration
public Color m_ColorTextTopMarkers
Field Value
Declaration
public Color m_ColorThread
Field Value
Declaration
public Color m_ColorThreadSelected
Field Value
Declaration
public Color m_ColorWhite
Field Value
Methods
Declaration
public void AddToExcludeFilter(string markerName)
Parameters
Type |
Name |
Description |
System.String |
markerName |
|
Declaration
public void AddToIncludeFilter(string markerName)
Parameters
Type |
Name |
Description |
System.String |
markerName |
|
Declaration
public static Color Color256(int r, int g, int b, int a)
Parameters
Type |
Name |
Description |
System.Int32 |
r |
|
System.Int32 |
g |
|
System.Int32 |
b |
|
System.Int32 |
a |
|
Returns
Declaration
public bool DataMatchesProfiler(ProfileData data, int frameIndex, out string message)
Parameters
Type |
Name |
Description |
ProfileData |
data |
|
System.Int32 |
frameIndex |
|
System.String |
message |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public void DrawFrameIndexButton(Rect rect, int index)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
System.Int32 |
index |
|
Declaration
public void DrawFrameIndexButton(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public string GetDisplayUnits()
Returns
Type |
Description |
System.String |
|
Declaration
public List<string> GetNameExcludes()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Declaration
public List<string> GetNameFilters()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Declaration
public string GetSelectedMarkerName()
Returns
Type |
Description |
System.String |
|
Declaration
public bool IsProfilerWindowOpen()
Returns
Type |
Description |
System.Boolean |
|
Declaration
public void JumpToFrame(int frameindex, bool reportErrors = true)
Parameters
Type |
Name |
Description |
System.Int32 |
frameindex |
|
System.Boolean |
reportErrors |
|
Declaration
public bool NameInExcludeList(string name, List<string> nameFilters)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.List<System.String> |
nameFilters |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool NameInFilterList(string name, List<string> nameFilters)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.List<System.String> |
nameFilters |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static void OpenProfileAnalyzer()
Declaration
public void RemoveFromExcludeFilter(string markerName)
Parameters
Type |
Name |
Description |
System.String |
markerName |
|
Declaration
public void RemoveFromIncludeFilter(string markerName)
Parameters
Type |
Name |
Description |
System.String |
markerName |
|
Declaration
public void RequestRepaint()
Declaration
public void SelectAllFrames()
Declaration
public void SelectFramesContainingMarker(string markerName, bool inSelection)
Parameters
Type |
Name |
Description |
System.String |
markerName |
|
System.Boolean |
inSelection |
|
Declaration
public void SelectMarker(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void SelectMarker(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Declaration
public void SelectPairing(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void SetAsParentMarkerFilter(string markerName)
Parameters
Type |
Name |
Description |
System.String |
markerName |
|
Declaration
public void SetComparisonModeColumns(int[] visibleColumns)
Parameters
Type |
Name |
Description |
System.Int32[] |
visibleColumns |
|
Declaration
public void SetMode(MarkerColumnFilter.Mode newMode)
Parameters
Declaration
public void SetSingleModeColumns(int[] visibleColumns)
Parameters
Type |
Name |
Description |
System.Int32[] |
visibleColumns |
|
Declaration
public void SetThreadSelection(ThreadSelection threadSelection)
Parameters
Declaration
public void SetUnits(Units units)
Parameters
Type |
Name |
Description |
Units |
units |
|
Declaration
public string ToDisplayUnits(double ms, bool showUnits = false, int limitToDigits = 5)
Parameters
Type |
Name |
Description |
System.Double |
ms |
|
System.Boolean |
showUnits |
|
System.Int32 |
limitToDigits |
|
Returns
Type |
Description |
System.String |
|
Declaration
public string ToDisplayUnits(float ms, bool showUnits = false, int limitToDigits = 5)
Parameters
Type |
Name |
Description |
System.Single |
ms |
|
System.Boolean |
showUnits |
|
System.Int32 |
limitToDigits |
|
Returns
Type |
Description |
System.String |
|
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.