FreeBSD Bugzilla – Attachment 190061 Details for
Bug 225415
graphics/mesa-dri: update to 18.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Prefer clock_gettime(2) over gettimeofday(2)
patch-src_util_os__time.c (text/plain), 542 bytes, created by
Jung-uk Kim
on 2018-01-25 19:57:56 UTC
(
hide
)
Description:
Prefer clock_gettime(2) over gettimeofday(2)
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2018-01-25 19:57:56 UTC
Size:
542 bytes
patch
obsolete
>--- src/util/os_time.c.orig 2018-01-23 18:08:50 UTC >+++ src/util/os_time.c >@@ -55,7 +55,7 @@ > int64_t > os_time_get_nano(void) > { >-#if defined(PIPE_OS_LINUX) >+#if defined(PIPE_OS_BSD) || defined(PIPE_OS_LINUX) > > struct timespec tv; > clock_gettime(CLOCK_MONOTONIC, &tv); >@@ -95,7 +95,7 @@ os_time_get_nano(void) > void > os_time_sleep(int64_t usecs) > { >-#if defined(PIPE_OS_LINUX) >+#if defined(PIPE_OS_BSD) || defined(PIPE_OS_LINUX) > struct timespec time; > time.tv_sec = usecs / 1000000; > time.tv_nsec = (usecs % 1000000) * 1000;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225415
:
190018
|
190045
|
190047
|
190061
|
190062
|
190063
|
190064
|
190159
|
190459
|
190681
|
191041
|
191335
|
191719
|
191881
|
191890