Accumulated measures of Events, Update, Recursive Updates.

This commit is contained in:
Stiffly
2015-09-23 17:19:57 +02:00
parent 2cf54819ae
commit 086bdbce70
3 changed files with 29 additions and 5 deletions
+9
View File
@@ -248,6 +248,15 @@ protected:
EntityID GenerateEntityID();
void RecycleEntityID(EntityID id);
private:
//Benchmarking
struct TimeMeasure {
double EventTime;
double SystemTime;
double RSystemTime;
};
std::map<std::string, TimeMeasure> m_typeToTimeMap;
};
template <class T>