Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Clock test
#include <time.h>
// #include <iostream>
// #include <errno.h>
int main()
{
struct timespec tp;
int status = clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &tp);
// int errsv = errno;
//std::cout << tp.tv_sec << " " << tp.tv_nsec << std::endl;
//if(errsv==EINVAL)
// std::cout << "EINVAL" << std::endl;
return status;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.