summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-10 23:11:14 -0400
committerLioncash <mathew1800@gmail.com>2019-07-10 23:19:10 -0400
commita99c7d01e1b043df9c09a3047bf0442f88ad94d3 (patch)
tree7a8414d7fdb82b522cfbb58b3c00337b97e8ab29 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent0a7395bfba99719f71de5186a9916e66c1901f37 (diff)
VideoCommon/Statistics: Normalize statistic variable names
Normalizes all variables related to statistics so that they follow our coding style. These are relatively low traffic areas, so this modification isn't too noisy.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 5299401f68..2b3967d646 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -54,7 +54,7 @@ static u32 InterpretDisplayList(u32 address, u32 size)
Statistics::SwapDL();
Run(DataReader(startAddress, startAddress + size), &cycles, true);
- INCSTAT(stats.thisFrame.numDListsCalled);
+ INCSTAT(stats.this_frame.num_dlists_called);
// un-swap
Statistics::SwapDL();
@@ -114,7 +114,7 @@ u8* Run(DataReader src, u32* cycles, bool in_display_list)
u32 value = src.Read<u32>();
LoadCPReg(sub_cmd, value, is_preprocess);
if (!is_preprocess)
- INCSTAT(stats.thisFrame.numCPLoads);
+ INCSTAT(stats.this_frame.num_cp_loads);
}
break;
@@ -132,7 +132,7 @@ u8* Run(DataReader src, u32* cycles, bool in_display_list)
u32 xf_address = Cmd2 & 0xFFFF;
LoadXFReg(transfer_size, xf_address, src);
- INCSTAT(stats.thisFrame.numXFLoads);
+ INCSTAT(stats.this_frame.num_xf_loads);
}
src.Skip<u32>(transfer_size);
}
@@ -208,7 +208,7 @@ u8* Run(DataReader src, u32* cycles, bool in_display_list)
else
{
LoadBPReg(bp_cmd);
- INCSTAT(stats.thisFrame.numBPLoads);
+ INCSTAT(stats.this_frame.num_bp_loads);
}
}
break;