Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
Tracker Class Reference

#include <FPSTracker.h>

Static Public Member Functions

static void AddUpdateFPSPointQueue (float UpdateTime)
 This function adds the time taken by the update function to complete in a Queue.
 
static void AddRenderFPSPointQueue (float RenderTime)
 This function adds the time taken by the render function to complete in a Queue.
 
static void RegisterPoints ()
 This function creates new points in the tracker using the values from AddRenderFPSPointQueue() and AddUpdateFPSPointQueue().
 

Static Public Attributes

static ScrollingBuffer s_UpdateFPSBuffer {}
 
static ScrollingBuffer s_RealUpdateFPSBuffer {}
 
static ScrollingBuffer s_RenderFPSBuffer {}
 
static ScrollingBuffer s_UpdateFTBuffer {}
 
static ScrollingBuffer s_RenderFTBuffer {}
 

Static Private Attributes

static float m_UpdateTime {}
 
static float m_RenderTime {}
 

Member Function Documentation

◆ AddRenderFPSPointQueue()

void Tracker::AddRenderFPSPointQueue ( float RenderTime)
static

This function adds the time taken by the render function to complete in a Queue.

Run RegisterPoints() to actually register the point in the tracker

◆ AddUpdateFPSPointQueue()

void Tracker::AddUpdateFPSPointQueue ( float UpdateTime)
static

This function adds the time taken by the update function to complete in a Queue.

Run RegisterPoints() to actually register the point in the tracker

◆ RegisterPoints()

void Tracker::RegisterPoints ( )
static

This function creates new points in the tracker using the values from AddRenderFPSPointQueue() and AddUpdateFPSPointQueue().

If those function were not used the value that will be put up in tracker will be 0.

Member Data Documentation

◆ m_RenderTime

float Tracker::m_RenderTime {}
staticprivate

◆ m_UpdateTime

float Tracker::m_UpdateTime {}
staticprivate

◆ s_RealUpdateFPSBuffer

ScrollingBuffer Tracker::s_RealUpdateFPSBuffer {}
static

◆ s_RenderFPSBuffer

ScrollingBuffer Tracker::s_RenderFPSBuffer {}
static

◆ s_RenderFTBuffer

ScrollingBuffer Tracker::s_RenderFTBuffer {}
static

◆ s_UpdateFPSBuffer

ScrollingBuffer Tracker::s_UpdateFPSBuffer {}
static

◆ s_UpdateFTBuffer

ScrollingBuffer Tracker::s_UpdateFTBuffer {}
static

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