We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my a.out which is a simple test tools, it could show the local CLOCK_MONOTONIC time, and it works like:
but I run the faketime command, the tick CLOCK_MONOTONIC time would be changed to unix timestamp,
Is that a problem or did I miss the applicable instructions?
The text was updated successfully, but these errors were encountered:
a.out code:
#include <stdio.h> #include <time.h> int main() { struct timespec current_time; clock_gettime(CLOCK_MONOTONIC, ¤t_time); printf("Current tick time: %lld.%09ld seconds since epoch\n", (long long)current_time.tv_sec, current_time.tv_nsec); return 0; }
Sorry, something went wrong.
faketime version:
Version 0.9.10
Is there any way not to change the tick time?
No branches or pull requests
my a.out which is a simple test tools, it could show the local CLOCK_MONOTONIC time, and it works like:
but I run the faketime command, the tick CLOCK_MONOTONIC time would be changed to unix timestamp,
Is that a problem or did I miss the applicable instructions?
The text was updated successfully, but these errors were encountered: