-
Notifications
You must be signed in to change notification settings - Fork 423
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
gettimeofday() path calculates time wrong #9
Comments
Thanks, I have cherry-picked from there. |
mrdeep1
added a commit
to mrdeep1/libcoap
that referenced
this issue
Dec 9, 2022
Use new coap_log_debug() etc. in OSCORE specific code.
mrdeep1
added a commit
to mrdeep1/libcoap
that referenced
this issue
Dec 13, 2022
Use new coap_log_debug() etc. in OSCORE specific code.
mrdeep1
added a commit
to mrdeep1/libcoap
that referenced
this issue
Dec 17, 2022
Use new coap_log_debug() etc. in OSCORE specific code.
mrdeep1
added a commit
to mrdeep1/libcoap
that referenced
this issue
Dec 20, 2022
Use new coap_log_debug() etc. in OSCORE specific code.
mrdeep1
added a commit
to mrdeep1/libcoap
that referenced
this issue
Dec 30, 2022
Use new coap_log_debug() etc. in OSCORE specific code.
mrdeep1
added a commit
to mrdeep1/libcoap
that referenced
this issue
Jan 2, 2023
Use new coap_log_debug() etc. in OSCORE specific code.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tmp = tv.tv_usec * Q(FRAC, (COAP_TICKS_PER_SECOND/1000000.0));
should be
tmp = SHR_FP(tv.tv_usec * Q(FRAC, (COAP_TICKS_PER_SECOND/1000000.0)), FRAC);
The code was fixed for linux but not for platforms that do not have
clock_get_time
A commit to fix it is at franc0is@bde3052
The text was updated successfully, but these errors were encountered: