Update Profiling.cpp

Fix spacing, capitalization, typos, and title case
This commit is contained in:
Derek "Turtle" Roe 2021-03-19 00:53:09 -05:00
parent 790e73a80b
commit ea0f2a65c1
1 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@ typedef PROFILE_ENRTIES::value_type PROFILE_VALUE;
typedef struct { SPECIAL_TIMERS Timer; char * Name; } TIMER_NAME;
DWORD m_CurrentTimerAddr, CurrentDisplayCount;
DWORD m_StartTimeHi, m_StartTimeLo; //The Current Timer start time
DWORD m_StartTimeHi, m_StartTimeLo; // The current timer start time
PROFILE_ENRTIES m_Entries;
public:
@ -28,7 +28,7 @@ public:
m_CurrentTimerAddr = Timer_None;
}
//recording timing against current timer, returns the address of the timer stoped
// Recording timing against current timer, returns the address of the timer stopped
DWORD StartTimer ( DWORD Address )
{
DWORD OldTimerAddr = StopTimer();
@ -115,7 +115,7 @@ public:
ItemList.push_back(&(*Entry));
}
//sort the list with a basic bubble sort
// Sort the list with a basic bubble sort
if (ItemList.size() > 0)
{
for (size_t OuterPass = 0; OuterPass < (ItemList.size() - 1); OuterPass++ )
@ -135,7 +135,7 @@ public:
TIMER_NAME TimerNames[] = {
{Timer_Compiling, "RSP: Compiling"},
{Timer_RSP_Running, "RSP: Running"},
{Timer_R4300_Running, "R4300: Running"},
{Timer_R4300_Running, "R4300i: Running"},
{Timer_RDP_Running, "RDP: Running"},
};