Space Engineers
Classes | Public Member Functions | Public Attributes | Properties | List of all members
VRage.Profiler.MyProfilerBlock Class Reference

Classes

class  MyProfilerBlockObjectBuilderInfo
 

Public Member Functions

 MyProfilerBlock ()
 
 MyProfilerBlock (ref MyProfilerBlockKey key, string memberName, int blockId, int forceOrder=int.MaxValue)
 
void SetBlockData (ref MyProfilerBlockKey key, int blockId, int forceOrder=int.MaxValue)
 
void Reset ()
 
void Clear ()
 Clears immediate data More...
 
void Start (bool memoryProfiling)
 
void End (bool memoryProfiling, MyTimeSpan?customTime=null)
 
override string ToString ()
 
MyProfilerBlockObjectBuilderInfo GetObjectBuilderInfo ()
 
void Init (MyProfilerBlockObjectBuilderInfo data)
 

Public Attributes

long MeasureStartTimestamp = 0
 
long ElapsedTimestamp = 0
 
MyTimeSpan Elapsed
 
long StartManagedMB = 0
 
long EndManagedMB = 0
 
long DeltaManagedB = 0
 
float TotalManagedMB = 0
 
long StartProcessMB = 0
 
long EndProcessMB = 0
 
float DeltaProcessB = 0
 
float TotalProcessMB = 0
 
bool Invalid = false
 
int NumCalls = 0
 
float CustomValue = 0
 
string TimeFormat
 
string ValueFormat
 
string CallFormat
 
float[] ProcessMemory = new float[MyProfiler.MAX_FRAMES]
 
long[] ManagedMemoryBytes = new long[MyProfiler.MAX_FRAMES]
 
float[] Miliseconds = new float[MyProfiler.MAX_FRAMES]
 
float[] CustomValues = new float[MyProfiler.MAX_FRAMES]
 
int[] NumCallsArray = new int[MyProfiler.MAX_FRAMES]
 
float averageMiliseconds
 
List< MyProfilerBlockChildren = new List<MyProfilerBlock>()
 
MyProfilerBlock Parent = null
 

Properties

int Id [get]
 
MyProfilerBlockKey Key [get]
 
int ForceOrder [get]
 
string Name [get]
 
long ManagedDeltaMB [get]
 
float ProcessDeltaMB [get]
 

Detailed Description

Definition at line 65 of file MyProfilerBlock.cs.

Constructor & Destructor Documentation

VRage.Profiler.MyProfilerBlock.MyProfilerBlock ( )
inline

Definition at line 121 of file MyProfilerBlock.cs.

VRage.Profiler.MyProfilerBlock.MyProfilerBlock ( ref MyProfilerBlockKey  key,
string  memberName,
int  blockId,
int  forceOrder = int.MaxValue 
)
inline

Definition at line 125 of file MyProfilerBlock.cs.

Member Function Documentation

void VRage.Profiler.MyProfilerBlock.Clear ( )
inline

Clears immediate data

Definition at line 148 of file MyProfilerBlock.cs.

void VRage.Profiler.MyProfilerBlock.End ( bool  memoryProfiling,
MyTimeSpan customTime = null 
)
inline

Definition at line 180 of file MyProfilerBlock.cs.

MyProfilerBlockObjectBuilderInfo VRage.Profiler.MyProfilerBlock.GetObjectBuilderInfo ( )
inline

Definition at line 234 of file MyProfilerBlock.cs.

void VRage.Profiler.MyProfilerBlock.Init ( MyProfilerBlockObjectBuilderInfo  data)
inline

Definition at line 253 of file MyProfilerBlock.cs.

void VRage.Profiler.MyProfilerBlock.Reset ( )
inline

Definition at line 139 of file MyProfilerBlock.cs.

void VRage.Profiler.MyProfilerBlock.SetBlockData ( ref MyProfilerBlockKey  key,
int  blockId,
int  forceOrder = int.MaxValue 
)
inline

Definition at line 132 of file MyProfilerBlock.cs.

void VRage.Profiler.MyProfilerBlock.Start ( bool  memoryProfiling)
inline

Definition at line 164 of file MyProfilerBlock.cs.

override string VRage.Profiler.MyProfilerBlock.ToString ( )
inline

Definition at line 198 of file MyProfilerBlock.cs.

Member Data Documentation

float VRage.Profiler.MyProfilerBlock.averageMiliseconds

Definition at line 116 of file MyProfilerBlock.cs.

string VRage.Profiler.MyProfilerBlock.CallFormat

Definition at line 94 of file MyProfilerBlock.cs.

List<MyProfilerBlock> VRage.Profiler.MyProfilerBlock.Children = new List<MyProfilerBlock>()

Definition at line 118 of file MyProfilerBlock.cs.

float VRage.Profiler.MyProfilerBlock.CustomValue = 0

Definition at line 90 of file MyProfilerBlock.cs.

float [] VRage.Profiler.MyProfilerBlock.CustomValues = new float[MyProfiler.MAX_FRAMES]

Definition at line 112 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.DeltaManagedB = 0

Definition at line 80 of file MyProfilerBlock.cs.

float VRage.Profiler.MyProfilerBlock.DeltaProcessB = 0

Definition at line 84 of file MyProfilerBlock.cs.

MyTimeSpan VRage.Profiler.MyProfilerBlock.Elapsed

Definition at line 77 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.ElapsedTimestamp = 0

Definition at line 75 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.EndManagedMB = 0

Definition at line 79 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.EndProcessMB = 0

Definition at line 83 of file MyProfilerBlock.cs.

bool VRage.Profiler.MyProfilerBlock.Invalid = false

Definition at line 87 of file MyProfilerBlock.cs.

long [] VRage.Profiler.MyProfilerBlock.ManagedMemoryBytes = new long[MyProfiler.MAX_FRAMES]

Definition at line 110 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.MeasureStartTimestamp = 0

Definition at line 74 of file MyProfilerBlock.cs.

float [] VRage.Profiler.MyProfilerBlock.Miliseconds = new float[MyProfiler.MAX_FRAMES]

Definition at line 111 of file MyProfilerBlock.cs.

int VRage.Profiler.MyProfilerBlock.NumCalls = 0

Definition at line 89 of file MyProfilerBlock.cs.

int [] VRage.Profiler.MyProfilerBlock.NumCallsArray = new int[MyProfiler.MAX_FRAMES]

Definition at line 113 of file MyProfilerBlock.cs.

MyProfilerBlock VRage.Profiler.MyProfilerBlock.Parent = null

Definition at line 119 of file MyProfilerBlock.cs.

float [] VRage.Profiler.MyProfilerBlock.ProcessMemory = new float[MyProfiler.MAX_FRAMES]

Definition at line 109 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.StartManagedMB = 0

Definition at line 78 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.StartProcessMB = 0

Definition at line 82 of file MyProfilerBlock.cs.

string VRage.Profiler.MyProfilerBlock.TimeFormat

Definition at line 92 of file MyProfilerBlock.cs.

float VRage.Profiler.MyProfilerBlock.TotalManagedMB = 0

Definition at line 81 of file MyProfilerBlock.cs.

float VRage.Profiler.MyProfilerBlock.TotalProcessMB = 0

Definition at line 85 of file MyProfilerBlock.cs.

string VRage.Profiler.MyProfilerBlock.ValueFormat

Definition at line 93 of file MyProfilerBlock.cs.

Property Documentation

int VRage.Profiler.MyProfilerBlock.ForceOrder
get

Definition at line 69 of file MyProfilerBlock.cs.

int VRage.Profiler.MyProfilerBlock.Id
get

Definition at line 67 of file MyProfilerBlock.cs.

MyProfilerBlockKey VRage.Profiler.MyProfilerBlock.Key
get

Definition at line 68 of file MyProfilerBlock.cs.

long VRage.Profiler.MyProfilerBlock.ManagedDeltaMB
get

Definition at line 97 of file MyProfilerBlock.cs.

string VRage.Profiler.MyProfilerBlock.Name
get

Definition at line 71 of file MyProfilerBlock.cs.

float VRage.Profiler.MyProfilerBlock.ProcessDeltaMB
get

Definition at line 103 of file MyProfilerBlock.cs.


The documentation for this class was generated from the following file: