I am looking for a Linux alternative to the Windows high-resolution performance counter API, and the following API functions in particular:
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See
clock_gettime()withCLOCK_MONOTONIC_RAWflag, andclock_getres().Here is also an example of how to use it: