Space Engineers
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
VRage.MySimpleProfiler.MySimpleProfilingBlock Class Reference

Public Types

enum  ProfilingBlockType { ProfilingBlockType.GRAPHICS, ProfilingBlockType.BLOCK, ProfilingBlockType.OTHER }
 

Public Member Functions

void Log (MyTimeSpan currentTime)
 

Public Attributes

ProfilingBlockType type = ProfilingBlockType.BLOCK
 
bool GPU
 
MyTimeSpan Time
 
MyTimeSpan TotalTime
 
MyTimeSpan TimeStamp
 
long Frames
 
int ThresholdFrameMilliseconds = 100
 
int ThresholdSecondMilliseconds = 10
 
string Name
 
MyStringId LocalizedName
 
MyStringId Description
 

Properties

string DisplayName [get]
 
double Average [get]
 

Detailed Description

Definition at line 18 of file MySimpleProfiler.cs.

Member Enumeration Documentation

Enumerator
GRAPHICS 
BLOCK 
OTHER 

Definition at line 20 of file MySimpleProfiler.cs.

Member Function Documentation

void VRage.MySimpleProfiler.MySimpleProfilingBlock.Log ( MyTimeSpan  currentTime)
inline

Definition at line 54 of file MySimpleProfiler.cs.

Member Data Documentation

MyStringId VRage.MySimpleProfiler.MySimpleProfilingBlock.Description

Definition at line 33 of file MySimpleProfiler.cs.

long VRage.MySimpleProfiler.MySimpleProfilingBlock.Frames

Definition at line 26 of file MySimpleProfiler.cs.

bool VRage.MySimpleProfiler.MySimpleProfilingBlock.GPU

Definition at line 22 of file MySimpleProfiler.cs.

MyStringId VRage.MySimpleProfiler.MySimpleProfilingBlock.LocalizedName

Definition at line 32 of file MySimpleProfiler.cs.

string VRage.MySimpleProfiler.MySimpleProfilingBlock.Name

Definition at line 31 of file MySimpleProfiler.cs.

int VRage.MySimpleProfiler.MySimpleProfilingBlock.ThresholdFrameMilliseconds = 100

Definition at line 28 of file MySimpleProfiler.cs.

int VRage.MySimpleProfiler.MySimpleProfilingBlock.ThresholdSecondMilliseconds = 10

Definition at line 30 of file MySimpleProfiler.cs.

MyTimeSpan VRage.MySimpleProfiler.MySimpleProfilingBlock.Time

Definition at line 23 of file MySimpleProfiler.cs.

MyTimeSpan VRage.MySimpleProfiler.MySimpleProfilingBlock.TimeStamp

Definition at line 25 of file MySimpleProfiler.cs.

MyTimeSpan VRage.MySimpleProfiler.MySimpleProfilingBlock.TotalTime

Definition at line 24 of file MySimpleProfiler.cs.

ProfilingBlockType VRage.MySimpleProfiler.MySimpleProfilingBlock.type = ProfilingBlockType.BLOCK

Definition at line 21 of file MySimpleProfiler.cs.

Property Documentation

double VRage.MySimpleProfiler.MySimpleProfilingBlock.Average
get

Definition at line 50 of file MySimpleProfiler.cs.

string VRage.MySimpleProfiler.MySimpleProfilingBlock.DisplayName
get

Definition at line 35 of file MySimpleProfiler.cs.


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