Created
February 28, 2021 14:44
-
-
Save akamilkhan/2730406a995e830e58d2a217c99e7be2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint64_t time_now() | |
{ | |
return (std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::high_resolution_clock::now().time_since_epoch())).count(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment