Class ProfilerDriver
Inheritance
ProfilerDriver
Assembly: UnityEditor.dll
Syntax
public static class ProfilerDriver
Fields
|
Improve this Doc
View Source
directConnectionPort
Declaration
public static string directConnectionPort
Field Value
Properties
connectedProfiler
Declaration
public static int connectedProfiler { get; set; }
Property Value
deepProfiling
Declaration
public static bool deepProfiling { get; set; }
Property Value
directConnectionUrl
Declaration
public static string directConnectionUrl { get; }
Property Value
enabled
Declaration
public static bool enabled { get; set; }
Property Value
firstFrameIndex
Declaration
public static int firstFrameIndex { get; }
Property Value
|
Improve this Doc
View Source
isGPUProfilerBuggyOnDriver
Declaration
[Obsolete("Deprecated API, it will always return false")]
public static bool isGPUProfilerBuggyOnDriver { get; }
Property Value
isGPUProfilerSupported
Declaration
public static bool isGPUProfilerSupported { get; }
Property Value
isGPUProfilerSupportedByOS
Declaration
public static bool isGPUProfilerSupportedByOS { get; }
Property Value
lastFrameIndex
Declaration
public static int lastFrameIndex { get; }
Property Value
maxHistoryLength
Declaration
public static int maxHistoryLength { get; }
Property Value
memoryRecordMode
Declaration
public static ProfilerMemoryRecordMode memoryRecordMode { get; set; }
Property Value
miniMemoryOverview
Declaration
public static string miniMemoryOverview { get; }
Property Value
objectCount
Declaration
public static uint objectCount { get; }
Property Value
profileEditor
Declaration
public static bool profileEditor { get; set; }
Property Value
|
Improve this Doc
View Source
profileGPU
Declaration
public static bool profileGPU { get; set; }
Property Value
selectedPropertyPath
Declaration
public static string selectedPropertyPath { get; set; }
Property Value
usedHeapSize
Declaration
public static uint usedHeapSize { get; }
Property Value
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
GetAvailableProfilers()
Declaration
public static int[] GetAvailableProfilers()
Returns
GetConnectionIdentifier(Int32)
Declaration
public static string GetConnectionIdentifier(int guid)
Parameters
Type |
Name |
Description |
Int32 |
guid |
|
Returns
Declaration
public static string GetFormattedStatisticsValue(int frame, int identifier)
Parameters
Type |
Name |
Description |
Int32 |
frame |
|
Int32 |
identifier |
|
Returns
GetGraphStatisticsPropertiesForArea(ProfilerArea)
Declaration
public static string[] GetGraphStatisticsPropertiesForArea(ProfilerArea area)
Parameters
Returns
GetNextFrameIndex(Int32)
Declaration
public static int GetNextFrameIndex(int frame)
Parameters
Type |
Name |
Description |
Int32 |
frame |
|
Returns
GetOverviewText(ProfilerArea, Int32)
Declaration
public static string GetOverviewText(ProfilerArea profilerArea, int frame)
Parameters
Returns
GetPreviousFrameIndex(Int32)
Declaration
public static int GetPreviousFrameIndex(int frame)
Parameters
Type |
Name |
Description |
Int32 |
frame |
|
Returns
GetStatisticsAvailable(ProfilerArea, Int32, Boolean[])
Declaration
public static void GetStatisticsAvailable(ProfilerArea profilerArea, int firstFrame, bool[] buffer)
Parameters
|
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
GetStatisticsIdentifierForArea(ProfilerArea, String)
Declaration
public static int GetStatisticsIdentifierForArea(ProfilerArea profilerArea, string propertyName)
Parameters
Returns
GetStatisticsValues(Int32, Int32, Single, Single[], out Single)
Declaration
public static void GetStatisticsValues(int identifier, int firstFrame, float scale, float[] buffer, out float maxValue)
Parameters
GetUISystemEventMarkersBatch(Int32, Int32, EventMarker[], String[])
Declaration
public static void GetUISystemEventMarkersBatch(int firstFrame, int frameCount, EventMarker[] buffer, string[] names)
Parameters
GetUISystemEventMarkersCount(Int32, Int32)
Declaration
public static int GetUISystemEventMarkersCount(int firstFrame, int frameCount)
Parameters
Type |
Name |
Description |
Int32 |
firstFrame |
|
Int32 |
frameCount |
|
Returns
IsAreaEnabled(ProfilerArea)
Declaration
public static bool IsAreaEnabled(ProfilerArea area)
Parameters
Returns
IsIdentifierConnectable(Int32)
Declaration
public static bool IsIdentifierConnectable(int guid)
Parameters
Type |
Name |
Description |
Int32 |
guid |
|
Returns
LoadProfile(String, Boolean)
Declaration
public static bool LoadProfile(string filename, bool keepExistingData)
Parameters
Returns
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
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