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
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to