Added MetricsServer project

This commit is contained in:
Anonymous
2014-01-18 07:18:32 -07:00
parent a5b073e4f2
commit ead53a7268
5 changed files with 192 additions and 2 deletions
@@ -19,7 +19,9 @@
#ifdef LINUX
#include <time.h>
#endif
#ifdef WINDOWS
#include <windows.h>
#endif
//----------------------------------------------------------------
std::string MetricsServer::m_commandLine;
int MetricsServer::m_worldCountChannel = 0;
@@ -188,7 +190,11 @@ void MetricsServer::run()
if (pDump)
m_soeMonitor->dump();
Clock::limitFrameRate();
usleep(2000);
#ifdef WIN32
Sleep(2);
#else
usleep(2000);
#endif
}
}