Home
last modified time | relevance | path

Searched refs:clock_gettime (Results 1 – 25 of 7286) sorted by relevance

12345678910>>...292

/dports/devel/libunit/unit-1.26.1/auto/
H A Dtime7 # Linux clock_gettime() is in librt.
9 nxt_feature="Linux clock_gettime(CLOCK_REALTIME_COARSE)"
32 nxt_feature="FreeBSD clock_gettime(CLOCK_REALTIME_FAST)"
49 nxt_feature="clock_gettime(CLOCK_REALTIME)"
68 # Linux and Solaris 10 clock_gettime() are in librt.
70 nxt_feature="clock_gettime(CLOCK_REALTIME) in librt"
81 # Linux clock_gettime() is in librt.
83 nxt_feature="Linux clock_gettime(CLOCK_MONOTONIC_COARSE)"
106 nxt_feature="FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST)"
123 nxt_feature="clock_gettime(CLOCK_MONOTONIC)"
[all …]
/dports/www/unit/unit-1.26.1/auto/
H A Dtime7 # Linux clock_gettime() is in librt.
9 nxt_feature="Linux clock_gettime(CLOCK_REALTIME_COARSE)"
32 nxt_feature="FreeBSD clock_gettime(CLOCK_REALTIME_FAST)"
49 nxt_feature="clock_gettime(CLOCK_REALTIME)"
68 # Linux and Solaris 10 clock_gettime() are in librt.
70 nxt_feature="clock_gettime(CLOCK_REALTIME) in librt"
81 # Linux clock_gettime() is in librt.
83 nxt_feature="Linux clock_gettime(CLOCK_MONOTONIC_COARSE)"
106 nxt_feature="FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST)"
123 nxt_feature="clock_gettime(CLOCK_MONOTONIC)"
[all …]
/dports/www/unit-java/unit-1.26.1/auto/
H A Dtime7 # Linux clock_gettime() is in librt.
9 nxt_feature="Linux clock_gettime(CLOCK_REALTIME_COARSE)"
32 nxt_feature="FreeBSD clock_gettime(CLOCK_REALTIME_FAST)"
49 nxt_feature="clock_gettime(CLOCK_REALTIME)"
68 # Linux and Solaris 10 clock_gettime() are in librt.
70 nxt_feature="clock_gettime(CLOCK_REALTIME) in librt"
81 # Linux clock_gettime() is in librt.
83 nxt_feature="Linux clock_gettime(CLOCK_MONOTONIC_COARSE)"
106 nxt_feature="FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST)"
123 nxt_feature="clock_gettime(CLOCK_MONOTONIC)"
[all …]
/dports/www/unit-php/unit-1.26.1/auto/
H A Dtime7 # Linux clock_gettime() is in librt.
9 nxt_feature="Linux clock_gettime(CLOCK_REALTIME_COARSE)"
32 nxt_feature="FreeBSD clock_gettime(CLOCK_REALTIME_FAST)"
49 nxt_feature="clock_gettime(CLOCK_REALTIME)"
68 # Linux and Solaris 10 clock_gettime() are in librt.
70 nxt_feature="clock_gettime(CLOCK_REALTIME) in librt"
81 # Linux clock_gettime() is in librt.
83 nxt_feature="Linux clock_gettime(CLOCK_MONOTONIC_COARSE)"
106 nxt_feature="FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST)"
123 nxt_feature="clock_gettime(CLOCK_MONOTONIC)"
[all …]
/dports/www/unit-perl/unit-1.26.1/auto/
H A Dtime7 # Linux clock_gettime() is in librt.
9 nxt_feature="Linux clock_gettime(CLOCK_REALTIME_COARSE)"
32 nxt_feature="FreeBSD clock_gettime(CLOCK_REALTIME_FAST)"
49 nxt_feature="clock_gettime(CLOCK_REALTIME)"
68 # Linux and Solaris 10 clock_gettime() are in librt.
70 nxt_feature="clock_gettime(CLOCK_REALTIME) in librt"
81 # Linux clock_gettime() is in librt.
83 nxt_feature="Linux clock_gettime(CLOCK_MONOTONIC_COARSE)"
106 nxt_feature="FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST)"
123 nxt_feature="clock_gettime(CLOCK_MONOTONIC)"
[all …]
/dports/www/unit-python/unit-1.26.1/auto/
H A Dtime7 # Linux clock_gettime() is in librt.
9 nxt_feature="Linux clock_gettime(CLOCK_REALTIME_COARSE)"
32 nxt_feature="FreeBSD clock_gettime(CLOCK_REALTIME_FAST)"
49 nxt_feature="clock_gettime(CLOCK_REALTIME)"
68 # Linux and Solaris 10 clock_gettime() are in librt.
70 nxt_feature="clock_gettime(CLOCK_REALTIME) in librt"
81 # Linux clock_gettime() is in librt.
83 nxt_feature="Linux clock_gettime(CLOCK_MONOTONIC_COARSE)"
106 nxt_feature="FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST)"
123 nxt_feature="clock_gettime(CLOCK_MONOTONIC)"
[all …]
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/attic/
H A Drandom.c33 clock_gettime(CLOCK_REALTIME, &start); in getpid_average()
37 clock_gettime(CLOCK_REALTIME, &stop); in getpid_average()
75 clock_gettime(CLOCK_REALTIME, &start); in do_average()
79 clock_gettime(CLOCK_REALTIME, &stop); in do_average()
98 clock_gettime(CLOCK_REALTIME, &start); in do_avg_bytes()
102 clock_gettime(CLOCK_REALTIME, &stop); in do_avg_bytes()
128 clock_gettime(CLOCK_REALTIME, &start); in do_avg_priv()
132 clock_gettime(CLOCK_REALTIME, &stop); in do_avg_priv()
156 clock_gettime(CLOCK_REALTIME, &stop); in do_fastest()
181 clock_gettime(CLOCK_REALTIME, &stop); in do_fast_bytes()
[all …]
H A Dclocks.c54 clock_gettime(CLOCK_REALTIME, &start); in getpid_average()
58 clock_gettime(CLOCK_REALTIME, &stop); in getpid_average()
115 err = clock_gettime(type, &start); in do_average()
121 clock_gettime(CLOCK_REALTIME, &start); in do_average()
123 clock_gettime(type, &stop); in do_average()
125 clock_gettime(CLOCK_REALTIME, &stop); in do_average()
144 clock_gettime(type, &start); in do_fastest()
145 clock_gettime(type, &stop); in do_fastest()
177 clock_gettime(type, &stop); in do_hist()
178 clock_gettime(type, &start); in do_hist()
[all …]
H A Dbackwards.c34 clock_gettime(CLOCK_REALTIME, &ts0); /* warm up cache */ in main()
35 clock_gettime(CLOCK_REALTIME, &ts1); in main()
36 clock_gettime(CLOCK_REALTIME, &ts0); in main()
37 clock_gettime(CLOCK_REALTIME, &ts1); in main()
53 clock_gettime(CLOCK_REALTIME, &ts0); /* warm up cache */ in main()
54 clock_gettime(CLOCK_REALTIME, &ts1); in main()
55 clock_gettime(CLOCK_REALTIME, &ts0); in main()
56 clock_gettime(CLOCK_REALTIME, &ts1); in main()
/dports/databases/freetds-devel/freetds-dev.1.3.7/m4/
H A Dgettimemilli.m45 dnl clock_gettime
7 dnl Linux and *BSD: clock_gettime(CLOCK_MONOTONIC)
8 dnl IRIX: clock_gettime(CLOCK_SGI_CYCLE)
9 dnl HU-UX: clock_gettime(CLOCK_REALTIME)
17 dnl check clock_gettime
21 AC_SEARCH_LIBS(clock_gettime, [rt posix4])
23 AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if you have the clock_gettime function.])
27 dnl check for constants for clock_gettime
30 AC_MSG_CHECKING(if clock_gettime support $1)
36 ], [struct timespec ts; clock_gettime($1, &ts); ], tds_clock_gettime_const=yes, tds_clock_gettime_c…
[all …]
/dports/databases/freetds/freetds-1.3.4/m4/
H A Dgettimemilli.m45 dnl clock_gettime
7 dnl Linux and *BSD: clock_gettime(CLOCK_MONOTONIC)
8 dnl IRIX: clock_gettime(CLOCK_SGI_CYCLE)
9 dnl HU-UX: clock_gettime(CLOCK_REALTIME)
17 dnl check clock_gettime
21 AC_SEARCH_LIBS(clock_gettime, [rt posix4])
23 AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if you have the clock_gettime function.])
27 dnl check for constants for clock_gettime
30 AC_MSG_CHECKING(if clock_gettime support $1)
36 ], [struct timespec ts; clock_gettime($1, &ts); ], tds_clock_gettime_const=yes, tds_clock_gettime_c…
[all …]
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/core/process/
H A Dclock_gettime_spec.rb7 Process.clock_gettime(Process::CLOCK_MONOTONIC, unit).should be_kind_of(Integer)
11 Process.clock_gettime(Process::CLOCK_MONOTONIC, unit).should be_an_instance_of(Float)
16 … lambda { Process.clock_gettime(Process::CLOCK_MONOTONIC, :bad) }.should raise_error(ArgumentError)
20 t1 = Process.clock_gettime(Process::CLOCK_MONOTONIC)
21 t2 = Process.clock_gettime(Process::CLOCK_MONOTONIC, :float_second)
28 t1 = Process.clock_gettime(Process::CLOCK_MONOTONIC, nil)
29 t2 = Process.clock_gettime(Process::CLOCK_MONOTONIC, :float_second)
/dports/devel/fstrm/fstrm-0.6.1/fstrm/
H A Dtime.c43 if (clock_gettime(*c, &ts) == 0 && in fstrm__get_best_monotonic_clock_pthread()
53 if (clock_gettime(*c, &ts) == 0 && in fstrm__get_best_monotonic_clock_pthread()
63 if (clock_gettime(*c, &ts) == 0 && in fstrm__get_best_monotonic_clock_pthread()
73 if (clock_gettime(*c, &ts) == 0 && in fstrm__get_best_monotonic_clock_pthread()
94 if (!clock_gettime((*c) = CLOCK_MONOTONIC_COARSE, &ts)) in fstrm__get_best_monotonic_clock_gettime()
99 if (!clock_gettime((*c) = CLOCK_MONOTONIC_RAW, &ts)) in fstrm__get_best_monotonic_clock_gettime()
104 if (!clock_gettime((*c) = CLOCK_MONOTONIC_FAST, &ts)) in fstrm__get_best_monotonic_clock_gettime()
109 if (!clock_gettime((*c) = CLOCK_MONOTONIC, &ts)) in fstrm__get_best_monotonic_clock_gettime()
/dports/sysutils/fcron/fcron-3.2.1/tests/
H A Dtest-clocks-suspend.c38 clock_gettime(CLOCK_MONOTONIC, timeref_monotonic); in ini_time_ref()
39 clock_gettime(CLOCK_BOOTTIME, timeref_boottime); in ini_time_ref()
45 clock_gettime(CLOCK_MONOTONIC, &tpm); in suspend_time()
46 clock_gettime(CLOCK_BOOTTIME, &tpb); in suspend_time()
113 clock_gettime(CLOCK_REALTIME, &tpr_prev); in main()
114 clock_gettime(CLOCK_MONOTONIC, &tpm_prev); in main()
115 clock_gettime(CLOCK_BOOTTIME, &tpb_prev); in main()
135 clock_gettime(CLOCK_REALTIME, &tpr); in main()
136 clock_gettime(CLOCK_MONOTONIC, &tpm); in main()
137 clock_gettime(CLOCK_BOOTTIME, &tpb); in main()
/dports/misc/py-powerline-status/powerline-2.8.2/powerline/lib/
H A Dmonotonic.py7 from time import clock_gettime
14 monotonic = lambda: clock_gettime(CLOCK_ID)
82 clock_gettime = librt.clock_gettime variable
83 clock_gettime.argtypes = [ctypes.c_int, ctypes.POINTER(timespec)]
85 if clock_gettime(CLOCK_MONOTONIC_RAW, ctypes.pointer(tspec)) == 0:
88 elif clock_gettime(CLOCK_MONOTONIC, ctypes.pointer(tspec)) == 0:
94 if clock_gettime(CLOCK_MONOTONIC, ctypes.pointer(tspec)) != 0:
/dports/emulators/qemu/qemu-6.2.0/meson/test cases/osx/3 has function xcode8/
H A Dmeson.build16 if cc.has_function('clock_gettime', args : args_10_11, prefix : '#include <time.h>')
17 error('Should not have found clock_gettime via <time.h> when targeting Mac OS X 10.11')
19 if not cc.has_function('clock_gettime', args : args_10_12, prefix : '#include <time.h>')
20 error('Did NOT find clock_gettime via <time.h> when targeting Mac OS X 10.12')
22 if not cc.has_function('clock_gettime', args : args_10_11)
23 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.11')
25 if not cc.has_function('clock_gettime', args : args_10_12)
26 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.12')
/dports/emulators/qemu60/qemu-6.0.0/meson/test cases/osx/3 has function xcode8/
H A Dmeson.build16 if cc.has_function('clock_gettime', args : args_10_11, prefix : '#include <time.h>')
17 error('Should not have found clock_gettime via <time.h> when targeting Mac OS X 10.11')
19 if not cc.has_function('clock_gettime', args : args_10_12, prefix : '#include <time.h>')
20 error('Did NOT find clock_gettime via <time.h> when targeting Mac OS X 10.12')
22 if not cc.has_function('clock_gettime', args : args_10_11)
23 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.11')
25 if not cc.has_function('clock_gettime', args : args_10_12)
26 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.12')
/dports/devel/meson/meson-0.60.3/test cases/osx/3 has function xcode8/
H A Dmeson.build16 if cc.has_function('clock_gettime', args : args_10_11, prefix : '#include <time.h>')
17 error('Should not have found clock_gettime via <time.h> when targeting Mac OS X 10.11')
19 if not cc.has_function('clock_gettime', args : args_10_12, prefix : '#include <time.h>')
20 error('Did NOT find clock_gettime via <time.h> when targeting Mac OS X 10.12')
22 if not cc.has_function('clock_gettime', args : args_10_11)
23 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.11')
25 if not cc.has_function('clock_gettime', args : args_10_12)
26 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.12')
/dports/emulators/qemu5/qemu-5.2.0/meson/test cases/osx/3 has function xcode8/
H A Dmeson.build16 if cc.has_function('clock_gettime', args : args_10_11, prefix : '#include <time.h>')
17 error('Should not have found clock_gettime via <time.h> when targeting Mac OS X 10.11')
19 if not cc.has_function('clock_gettime', args : args_10_12, prefix : '#include <time.h>')
20 error('Did NOT find clock_gettime via <time.h> when targeting Mac OS X 10.12')
22 if not cc.has_function('clock_gettime', args : args_10_11)
23 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.11')
25 if not cc.has_function('clock_gettime', args : args_10_12)
26 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.12')
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/meson/test cases/osx/3 has function xcode8/
H A Dmeson.build16 if cc.has_function('clock_gettime', args : args_10_11, prefix : '#include <time.h>')
17 error('Should not have found clock_gettime via <time.h> when targeting Mac OS X 10.11')
19 if not cc.has_function('clock_gettime', args : args_10_12, prefix : '#include <time.h>')
20 error('Did NOT find clock_gettime via <time.h> when targeting Mac OS X 10.12')
22 if not cc.has_function('clock_gettime', args : args_10_11)
23 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.11')
25 if not cc.has_function('clock_gettime', args : args_10_12)
26 error('Did NOT find clock_gettime w/o a prototype when targeting Mac OS X 10.12')
/dports/devel/folly/folly-2021.12.27.00/folly/
H A DClockGettimeWrappers.cpp37 int r = clock_gettime(clock, &ts); in clock_gettime_ns_fallback()
50 int (*clock_gettime)(clockid_t, timespec* ts) = &::clock_gettime; variable
68 folly::chrono::clock_gettime = (int (*)(clockid_t, timespec*))p; in VdsoInitializer()
78 clock_gettime = &::clock_gettime; in ~VdsoInitializer()
/dports/sysutils/tlsdate/tlsdate-tlsdate-0.0.13/
H A Dconfigure.ac214 AC_CHECK_FUNC([clock_gettime], ,
235 AC_CHECK_FUNC([clock_gettime], [:],
255 AC_CHECK_FUNC([clock_gettime], ,
273 AC_CHECK_FUNC([clock_gettime], ,
291 AC_CHECK_FUNC([clock_gettime], ,
310 AC_CHECK_FUNC([clock_gettime], ,
330 AC_CHECK_FUNC([clock_gettime], [:],
355 AC_CHECK_FUNC([clock_gettime], [:],
377 AC_CHECK_FUNC([clock_gettime], [:],
394 AC_CHECK_FUNC([clock_gettime], [:],
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/radix-tree/
H A Dbenchmark.c26 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_iter()
36 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_iter()
59 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_insert()
64 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_insert()
80 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_tagging()
85 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_tagging()
101 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_delete()
106 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_delete()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/radix-tree/
H A Dbenchmark.c26 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_iter()
36 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_iter()
59 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_insert()
64 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_insert()
80 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_tagging()
85 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_tagging()
101 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_delete()
106 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_delete()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/radix-tree/
H A Dbenchmark.c26 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_iter()
36 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_iter()
59 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_insert()
64 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_insert()
80 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_tagging()
85 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_tagging()
101 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_delete()
106 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_delete()

12345678910>>...292