engine: upgrade benchmark

This commit is contained in:
nillerusr
2022-11-16 13:51:03 +03:00
parent db3062c60b
commit de873d3fc3
5 changed files with 47 additions and 6 deletions
+7 -1
View File
@@ -34,13 +34,19 @@ public:
void StopBenchmark();
void SetResultsFilename( const char *pFilename );
void Upload();
void Frame();
private:
bool m_bIsTestRunning;
char m_szFilename[256];
int m_flStartTime;
float m_flStartTime;
int m_iStartFrame;
float m_flNextSecondTime;
int m_iNextSecondFrame;
CUtlVector<int> m_FPSInfo;
};
inline CBenchmarkResults *GetBenchResultsMgr()