Barotrauma Client Doc
Barotrauma.LuaCsPerformanceCounter Class Reference

Public Member Functions

void SetHookElapsedTicks (string eventName, string hookName, long ticks)
 

Public Attributes

bool EnablePerformanceCounter = false
 
double UpdateElapsedTime
 
Dictionary< string, Dictionary< string, double > > HookElapsedTime = new Dictionary<string, Dictionary<string, double>>()
 

Properties

static float MemoryUsage [get]
 

Detailed Description

Definition at line 7 of file LuaCsPerformanceCounter.cs.

Member Function Documentation

◆ SetHookElapsedTicks()

void Barotrauma.LuaCsPerformanceCounter.SetHookElapsedTicks ( string  eventName,
string  hookName,
long  ticks 
)

Definition at line 26 of file LuaCsPerformanceCounter.cs.

Member Data Documentation

◆ EnablePerformanceCounter

bool Barotrauma.LuaCsPerformanceCounter.EnablePerformanceCounter = false

Definition at line 9 of file LuaCsPerformanceCounter.cs.

◆ HookElapsedTime

Dictionary<string, Dictionary<string, double> > Barotrauma.LuaCsPerformanceCounter.HookElapsedTime = new Dictionary<string, Dictionary<string, double>>()

Definition at line 12 of file LuaCsPerformanceCounter.cs.

◆ UpdateElapsedTime

double Barotrauma.LuaCsPerformanceCounter.UpdateElapsedTime

Definition at line 11 of file LuaCsPerformanceCounter.cs.

Property Documentation

◆ MemoryUsage

float Barotrauma.LuaCsPerformanceCounter.MemoryUsage
staticget

Definition at line 14 of file LuaCsPerformanceCounter.cs.