Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.TimeLogger Class Reference

Classes

struct  TimeLogData
 

Static Public Member Functions

static void Initialize ()
 
static void Start ()
 
static void NewDrawFrame ()
 
static void EndDrawFrame ()
 
static void RenderTime (int renderType, double timeElapsed)
 
static float GetRenderTime (int renderType)
 
static float GetRenderMax (int renderType)
 
static void DrawTime (int drawType, double timeElapsed)
 
static float GetDrawTime (int drawType)
 
static float GetDrawTotal ()
 
static void LightingTime (int lightingType, double timeElapsed)
 
static float GetLightingTime (int lightingType)
 
static float GetLightingTotal ()
 
static void DetailedDrawReset ()
 
static void DetailedDrawTime (int detailedDrawType)
 
static float GetDetailedDrawTime (int detailedDrawType)
 
static float GetDetailedDrawTotal ()
 
static void MenuDrawTime (double timeElapsed)
 
static void SplashDrawTime (double timeElapsed)
 
static void MapDrawTime (double timeElapsed)
 
static void DrawException (Exception e)
 

Static Private Member Functions

static void UpdateTime (TimeLogData[] times, int type, double time)
 

Static Private Attributes

static StreamWriter logWriter
 
static StringBuilder logBuilder
 
static int framesToLog
 
static int currentFrame
 
static bool startLoggingNextFrame
 
static bool endLoggingThisFrame
 
static bool currentlyLogging
 
static Stopwatch detailedDrawTimer
 
static double lastDetailedDrawTime
 
static TimeLogData[] renderTimes
 
static TimeLogData[] drawTimes
 
static TimeLogData[] lightingTimes
 
static TimeLogData[] detailedDrawTimes
 
const int maxTimeDelay = 100
 

Detailed Description

Definition at line 9 of file TimeLogger.cs.


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