Impl. a basic tick count system for Windows