-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
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
[LibC] Implement 'clock_gettime', 'clock_settime', 'clock_getres' #116
Comments
Hi! In fact clock_gettime/clock_settime/clock_getres are not yet implemented in libC. I will turn this issue in a feature request and take care of it ASAP. Meanwhile, any chance you can use gettimeofday() ? Thanks d |
Not fixed yet for us, so better not close it @nathanLoretan |
ok, this is next up on my frosted-calendar! |
@nathanLoretan what resolution are you guys expecting clock_gettime() to have? assuming XSI-conformance or? |
CLOCK_REALTIME
…On Mar 7, 2017 2:22 AM, "brabo" ***@***.***> wrote:
@nathanLoretan <https://github.com/nathanLoretan> what resolution are you
guys expecting clock_gettime() to have? assuming XSI-conformance or?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVzCXqzY2l0ufmU-3Uj1KQyQxnW-Apglks5rjLE6gaJpZM4Lu44f>
.
|
@nathanLoretan that is a clock, not the resolution. i ask because of: |
@brabo we should stick with 1ms resolution for these calls anyhow |
@nathanLoretan done, closing this issue ;) |
@nathanLoretan note, just include sys/time.h for now, not time.h as posix specifies. |
Related to #120 |
time.h is there now. |
Hello, I try to use the function clock_gettime(). I define _POSIX_TIMERS and I include <time.h> but I always have the error: undefined reference to 'clock_gettime'.
The text was updated successfully, but these errors were encountered: