Show / Hide Table of Contents

Class ProfilerDriver

Inheritance
Object
ProfilerDriver
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditorInternal
Assembly: UnityEditor.dll
Syntax
public static class ProfilerDriver

Fields

| Improve this Doc View Source

directConnectionPort

Declaration
public static string directConnectionPort
Field Value
Type Description
String

Properties

connectedProfiler

Declaration
public static int connectedProfiler { get; set; }
Property Value
Type Description
Int32

deepProfiling

Declaration
public static bool deepProfiling { get; set; }
Property Value
Type Description
Boolean

directConnectionUrl

Declaration
public static string directConnectionUrl { get; }
Property Value
Type Description
String

enabled

Declaration
public static bool enabled { get; set; }
Property Value
Type Description
Boolean

firstFrameIndex

Declaration
public static int firstFrameIndex { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

isGPUProfilerBuggyOnDriver

Declaration
[Obsolete("Deprecated API, it will always return false")]
public static bool isGPUProfilerBuggyOnDriver { get; }
Property Value
Type Description
Boolean

isGPUProfilerSupported

Declaration
public static bool isGPUProfilerSupported { get; }
Property Value
Type Description
Boolean

isGPUProfilerSupportedByOS

Declaration
public static bool isGPUProfilerSupportedByOS { get; }
Property Value
Type Description
Boolean

lastFrameIndex

Declaration
public static int lastFrameIndex { get; }
Property Value
Type Description
Int32

maxHistoryLength

Declaration
public static int maxHistoryLength { get; }
Property Value
Type Description
Int32

memoryRecordMode

Declaration
public static ProfilerMemoryRecordMode memoryRecordMode { get; set; }
Property Value
Type Description
ProfilerMemoryRecordMode

miniMemoryOverview

Declaration
public static string miniMemoryOverview { get; }
Property Value
Type Description
String

objectCount

Declaration
public static uint objectCount { get; }
Property Value
Type Description
UInt32

profileEditor

Declaration
public static bool profileEditor { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

profileGPU

Declaration
public static bool profileGPU { get; set; }
Property Value
Type Description
Boolean

selectedPropertyPath

Declaration
public static string selectedPropertyPath { get; set; }
Property Value
Type Description
String

usedHeapSize

Declaration
public static uint usedHeapSize { get; }
Property Value
Type Description
UInt32

Methods

BeginInstrumentFunction(String)

Declaration
public static void BeginInstrumentFunction(string fullName)
Parameters
Type Name Description
String fullName

ClearAllFrames()

Declaration
public static void ClearAllFrames()

DirectIPConnect(String)

Declaration
public static void DirectIPConnect(string IP)
Parameters
Type Name Description
String IP

DirectURLConnect(String)

Declaration
public static void DirectURLConnect(string IP)
Parameters
Type Name Description
String IP

EndInstrumentFunction(String)

Declaration
public static void EndInstrumentFunction(string fullName)
Parameters
Type Name Description
String fullName

GetAllStatisticsProperties()

Declaration
public static string[] GetAllStatisticsProperties()
Returns
Type Description
String[]

GetAvailableProfilers()

Declaration
public static int[] GetAvailableProfilers()
Returns
Type Description
Int32[]

GetConnectionIdentifier(Int32)

Declaration
public static string GetConnectionIdentifier(int guid)
Parameters
Type Name Description
Int32 guid
Returns
Type Description
String

GetFormattedStatisticsValue(Int32, Int32)

Declaration
public static string GetFormattedStatisticsValue(int frame, int identifier)
Parameters
Type Name Description
Int32 frame
Int32 identifier
Returns
Type Description
String

GetGraphStatisticsPropertiesForArea(ProfilerArea)

Declaration
public static string[] GetGraphStatisticsPropertiesForArea(ProfilerArea area)
Parameters
Type Name Description
ProfilerArea area
Returns
Type Description
String[]

GetNextFrameIndex(Int32)

Declaration
public static int GetNextFrameIndex(int frame)
Parameters
Type Name Description
Int32 frame
Returns
Type Description
Int32

GetOverviewText(ProfilerArea, Int32)

Declaration
public static string GetOverviewText(ProfilerArea profilerArea, int frame)
Parameters
Type Name Description
ProfilerArea profilerArea
Int32 frame
Returns
Type Description
String

GetPreviousFrameIndex(Int32)

Declaration
public static int GetPreviousFrameIndex(int frame)
Parameters
Type Name Description
Int32 frame
Returns
Type Description
Int32

GetStatisticsAvailable(ProfilerArea, Int32, Boolean[])

Declaration
public static void GetStatisticsAvailable(ProfilerArea profilerArea, int firstFrame, bool[] buffer)
Parameters
Type Name Description
ProfilerArea profilerArea
Int32 firstFrame
Boolean[] buffer
| Improve this Doc View Source

GetStatisticsIdentifier(String)

Declaration
[Obsolete("Use GetStatisticsIdentifierForArea that takes ProfilerArea as first argument", false)]
public static int GetStatisticsIdentifier(string propertyName)
Parameters
Type Name Description
String propertyName
Returns
Type Description
Int32

GetStatisticsIdentifierForArea(ProfilerArea, String)

Declaration
public static int GetStatisticsIdentifierForArea(ProfilerArea profilerArea, string propertyName)
Parameters
Type Name Description
ProfilerArea profilerArea
String propertyName
Returns
Type Description
Int32

GetStatisticsValues(Int32, Int32, Single, Single[], out Single)

Declaration
public static void GetStatisticsValues(int identifier, int firstFrame, float scale, float[] buffer, out float maxValue)
Parameters
Type Name Description
Int32 identifier
Int32 firstFrame
Single scale
Single[] buffer
Single maxValue

GetUISystemEventMarkersBatch(Int32, Int32, EventMarker[], String[])

Declaration
public static void GetUISystemEventMarkersBatch(int firstFrame, int frameCount, EventMarker[] buffer, string[] names)
Parameters
Type Name Description
Int32 firstFrame
Int32 frameCount
EventMarker[] buffer
String[] names

GetUISystemEventMarkersCount(Int32, Int32)

Declaration
public static int GetUISystemEventMarkersCount(int firstFrame, int frameCount)
Parameters
Type Name Description
Int32 firstFrame
Int32 frameCount
Returns
Type Description
Int32

IsAreaEnabled(ProfilerArea)

Declaration
public static bool IsAreaEnabled(ProfilerArea area)
Parameters
Type Name Description
ProfilerArea area
Returns
Type Description
Boolean

IsIdentifierConnectable(Int32)

Declaration
public static bool IsIdentifierConnectable(int guid)
Parameters
Type Name Description
Int32 guid
Returns
Type Description
Boolean

LoadProfile(String, Boolean)

Declaration
public static bool LoadProfile(string filename, bool keepExistingData)
Parameters
Type Name Description
String filename
Boolean keepExistingData
Returns
Type Description
Boolean

QueryFunctionCallees(String)

Declaration
public static void QueryFunctionCallees(string fullname)
Parameters
Type Name Description
String fullname

QueryInstrumentableFunctions()

Declaration
public static void QueryInstrumentableFunctions()
| Improve this Doc View Source

RequestMemorySnapshot()

Declaration
public static void RequestMemorySnapshot()

RequestObjectMemoryInfo(Boolean)

Declaration
public static void RequestObjectMemoryInfo(bool gatherObjectReferences)
Parameters
Type Name Description
Boolean gatherObjectReferences
| Improve this Doc View Source

ResetHistory()

Declaration
[Obsolete("ResetHistory is deprecated, use ClearAllFrames instead.")]
public static void ResetHistory()

SaveProfile(String)

Declaration
public static void SaveProfile(string filename)
Parameters
Type Name Description
String filename

SetAreaEnabled(ProfilerArea, Boolean)

Declaration
public static void SetAreaEnabled(ProfilerArea area, bool enabled)
Parameters
Type Name Description
ProfilerArea area
Boolean enabled

SetAudioCaptureFlags(Int32)

Declaration
public static void SetAudioCaptureFlags(int flags)
Parameters
Type Name Description
Int32 flags

SetAutoInstrumentedAssemblies(InstrumentedAssemblyTypes)

Declaration
public static void SetAutoInstrumentedAssemblies(InstrumentedAssemblyTypes fullname)
Parameters
Type Name Description
InstrumentedAssemblyTypes fullname
  • Improve this Doc
  • View Source
Back to top Generated by DocFX