Space Engineers
|
A simple performance profiler intended to show players information about which area of the game is slowing it down More...
Classes | |
class | MySimpleProfilingBlock |
class | PerformanceWarning |
Static Public Member Functions | |
static void | Init () |
Special settings for profiling blocks should be set here More... | |
static void | Begin (string key) |
Begin new profiling block More... | |
static void | End (string key) |
End profiling block More... | |
static void | BeginGPUBlock (string key) |
Set which GPU profiling block is going to receive timing next More... | |
static void | EndGPUBlock (MyTimeSpan time) |
Log timing of currently set GPU block More... | |
static void | Commit () |
Check performance and reset time More... | |
static void | SetBlockSettings (string key, int thresholdFrame=100, int thresholdSecond=10, bool gpu=false, MySimpleProfilingBlock.ProfilingBlockType type=MySimpleProfilingBlock.ProfilingBlockType.BLOCK) |
Set special settings for a profiling block More... | |
static void | ShowServerPerformanceWarning (string key) |
Show performance warning received from server More... | |
Static Public Attributes | |
static Action< MySimpleProfilingBlock > | ShowPerformanceWarning |
Properties | |
static Dictionary< string, PerformanceWarning > | CurrentWarnings [get] |
A simple performance profiler intended to show players information about which area of the game is slowing it down
Definition at line 16 of file MySimpleProfiler.cs.
|
inlinestatic |
Begin new profiling block
Definition at line 116 of file MySimpleProfiler.cs.
|
inlinestatic |
Set which GPU profiling block is going to receive timing next
Definition at line 159 of file MySimpleProfiler.cs.
|
inlinestatic |
Check performance and reset time
Definition at line 189 of file MySimpleProfiler.cs.
|
inlinestatic |
End profiling block
Definition at line 136 of file MySimpleProfiler.cs.
|
inlinestatic |
Log timing of currently set GPU block
Definition at line 174 of file MySimpleProfiler.cs.
|
inlinestatic |
Special settings for profiling blocks should be set here
Definition at line 89 of file MySimpleProfiler.cs.
|
inlinestatic |
Set special settings for a profiling block
Definition at line 227 of file MySimpleProfiler.cs.
|
inlinestatic |
Show performance warning received from server
Definition at line 287 of file MySimpleProfiler.cs.
|
static |
Definition at line 79 of file MySimpleProfiler.cs.
|
staticget |
Definition at line 82 of file MySimpleProfiler.cs.