<分区>
Possible Duplicate:
High resolution timer with C++ and Linux?
double hires_time_in_seconds();
我正在为 Windows、Linux 寻找这个功能,如果你有的话。 在 http://gafferongames.com/game-physics/fix-your-timestep/ 中提到. 我在网上看过。 我知道这不是一个标准函数,但如果有人有他们想要分享的实现,那就太好了。
否则,我需要尽可能精细的东西来在客户端服务器游戏中进行同步。