Count listsyncs and drawsyncs in gpu stats. Eat some cycles in listSync

Chose a conservative number (same as sceGeContinue)
This commit is contained in:
Henrik Rydgård
2023-02-07 22:59:46 +01:00
parent d1e0061dcd
commit 9827dd536c
3 changed files with 12 additions and 1 deletions
+4
View File
@@ -74,6 +74,8 @@ struct GPUStatistics {
void ResetFrame() {
numDrawCalls = 0;
numDrawSyncs = 0;
numListSyncs = 0;
numCachedDrawCalls = 0;
numVertsSubmitted = 0;
numCachedVertsDrawn = 0;
@@ -104,6 +106,8 @@ struct GPUStatistics {
// Per frame statistics
int numDrawCalls;
int numDrawSyncs;
int numListSyncs;
int numCachedDrawCalls;
int numFlushes;
int numVertsSubmitted;