clock_gettime in red-hat linux
By default, clock_gettime is not available on RedHat Linux. site says it
is available as kernel patches. But from where I do find the patches? &
if it is not available, would the following be treated as equivalent of
clock_gettime
if original was
clock_gettime(CLOCK_REALTIME, &timo);
& implementation would be
struct timeval tv;
(void) gettimeofday(&tv, 0);
TIMEVAL_TO_TIMESPEC(&tv, &timo);
-Ajay
_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list
[Home]
[Kernel Newbies]
[Red Hat General]
[Fedora]
[Red Hat Install]
[Kernel List]
[Yosemite News]