static SYSTEMTIME sys;
static WORD before;
static WORD cur;
GetLocalTime(&sys);
cur = sys.wMinute * 60 + sys.wSecond * 1000 + sys.wMilliseconds;
std::cout << "updateFrame internal:" << cur - before << std::endl;
before = cur;