Tag Archives: Windows

Thread Naming in Windows: Time for Something Better

Windows lets you give names to the threads in your process which can then be displayed by debuggers. This is a great idea, but the implementation is showing its age – it’s time for some fixes, or something better. Update, … Continue reading

Posted in Debugging, Programming, Visual Studio | Tagged , , , | 12 Comments

timeGetTime versus GetTickCount

I have a confession to make – I only just found out the difference between the Windows functions GetTickCount and timeGetTime. I know what you’re thinking – I’m a game developer and I should know better than that. But I … Continue reading

Posted in Performance, Programming | Tagged , | 15 Comments

Sleep Variation Investigated

I recently saw a blog post covering how Sleep(n) works on various Windows operating systems and it showed slight variations in sleep times, between and within operating systems. The unanswered questions were: Why does the sleep time vary between operating … Continue reading

Posted in Performance, xperf | Tagged , , , , , , | 22 Comments