Hacker News new | past | comments | ask | show | jobs | submit login

Windows CE has a 32-bit uptime counter (GetTickCount()) that wraps after ~49 days, but on startup it sets the value so that it wraps around in three minutes, increasing the likelihood that overflow bugs will be sussed out during development. https://news.ycombinator.com/item?id=3231781



On Windows proper it has a resolution of 15ms, which is nowhere precise enough for games.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: