C++ Cross-Platform High-Resolution Timer

前端 未结 14 2359
不知归路
不知归路 2020-11-22 12:45

I\'m looking to implement a simple timer mechanism in C++. The code should work in Windows and Linux. The resolution should be as precise as possible (at least millisecond a

14条回答
  •  感动是毒
    2020-11-22 13:41

    The ACE library has portable high resolution timers also.

    Doxygen for high res timer:
    http://www.dre.vanderbilt.edu/Doxygen/5.7.2/html/ace/a00244.html

提交回复
热议问题