Home
last modified time | relevance | path

Searched refs:nanoseconds (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd/contrib/ntp/libntp/lib/isc/unix/
H A Dtime.c88 unsigned int seconds, unsigned int nanoseconds) in isc_interval_set() argument
91 REQUIRE(nanoseconds < NS_PER_S); in isc_interval_set()
94 i->nanoseconds = nanoseconds; in isc_interval_set()
100 INSIST(i->nanoseconds < NS_PER_S); in isc_interval_iszero()
102 if (i->seconds == 0 && i->nanoseconds == 0) in isc_interval_iszero()
117 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { in isc_time_set() argument
119 REQUIRE(nanoseconds < NS_PER_S); in isc_time_set()
122 t->nanoseconds = nanoseconds; in isc_time_set()
130 t->nanoseconds = 0; in isc_time_settoepoch()
136 INSIST(t->nanoseconds < NS_PER_S); in isc_time_isepoch()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-arista.c90 uint32_t nanoseconds) in arista_print_date_hms_time() argument
95 ts = seconds + (nanoseconds / 1000000000); in arista_print_date_hms_time()
96 nanoseconds %= 1000000000; in arista_print_date_hms_time()
99 gmtime(&ts)), nanoseconds); in arista_print_date_hms_time()
121 uint32_t nanoseconds; in arista_ethertype_print() local
143 nanoseconds = GET_BE_U_4(bp + 4); in arista_ethertype_print()
144 arista_print_date_hms_time(ndo, seconds, nanoseconds); in arista_ethertype_print()
149 nanoseconds = GET_BE_U_4(bp + 2); in arista_ethertype_print()
150 seconds += nanoseconds / 1000000000; in arista_ethertype_print()
151 nanoseconds %= 1000000000; in arista_ethertype_print()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h85 …unique_lock<mutex>& __lk, chrono::time_point<chrono::system_clock, chrono::nanoseconds>) _NOEXCEPT; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
88 …unique_lock<mutex>& __lk, chrono::time_point<chrono::steady_clock, chrono::nanoseconds>) _NOEXCEPT; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
92 …__do_timed_wait(unique_lock<mutex>& __lk, chrono::time_point<_Clock, chrono::nanoseconds>) _NOEXCE… in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
97 inline _LIBCPP_HIDE_FROM_ABI chrono::nanoseconds __safe_nanosecond_cast(chrono::duration<_Rep, _Per… in __safe_nanosecond_cast()
100 using __ns_rep = nanoseconds::rep; in __safe_nanosecond_cast()
105 return nanoseconds::max(); in __safe_nanosecond_cast()
110 return nanoseconds::min(); in __safe_nanosecond_cast()
113 return nanoseconds(static_cast<__ns_rep>(__result_float)); in __safe_nanosecond_cast()
117 inline _LIBCPP_HIDE_FROM_ABI chrono::nanoseconds __safe_nanosecond_cast(chrono::duration<_Rep, _Per… in __safe_nanosecond_cast()
120 return nanoseconds(0); in __safe_nanosecond_cast()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dpoll_with_backoff.h38 …_Poll&& __poll, _Backoff&& __backoff, chrono::nanoseconds __max_elapsed = chrono::nanoseconds::zer…
47 chrono::nanoseconds const __elapsed = chrono::high_resolution_clock::now() - __start;
48 if (__max_elapsed != chrono::nanoseconds::zero() && __max_elapsed < __elapsed)
62 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool operator()(chrono::nanoseconds const&) const { return… in operator()
H A Dthis_thread.h32 _LIBCPP_EXPORTED_FROM_ABI void sleep_for(const chrono::nanoseconds& __ns);
41 chrono::nanoseconds __ns; in sleep_for()
43 __ns = chrono::duration_cast<chrono::nanoseconds>(__d); in sleep_for()
47 __ns = chrono::nanoseconds::max(); in sleep_for()
H A Dtimed_backoff_policy.h27 _LIBCPP_HIDE_FROM_ABI bool operator()(chrono::nanoseconds __elapsed) const { in operator()
/freebsd/contrib/ntp/libntp/lib/isc/unix/include/isc/
H A Dtime.h41 unsigned int nanoseconds; member
50 unsigned int seconds, unsigned int nanoseconds);
85 unsigned int nanoseconds; member
91 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds);
/freebsd/contrib/llvm-project/libcxx/src/
H A Dcondition_variable.cpp36 chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) noexcept { in notify_all()
40 nanoseconds d = tp.time_since_epoch(); in wait()
41 if (d > nanoseconds(0x59682F000000E941)) in wait()
42 d = nanoseconds(0x59682F000000E941); in wait()
H A Dchrono.cpp98 std::chrono::duration<__int64, std::ratio_multiply<std::ratio<100, 1>, nanoseconds::period>>; in __libcpp_system_clock_now()
167 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in __libcpp_steady_clock_now()
201 return steady_clock::time_point(seconds(ts.tv_sec) + nanoseconds(ts.tv_nsec)); in __libcpp_steady_clock_now()
212 return steady_clock::time_point(nanoseconds(_zx_clock_get_monotonic())); in __libcpp_steady_clock_now()
221 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in __libcpp_steady_clock_now()
H A Dthread.cpp92 void sleep_for(const chrono::nanoseconds& ns) { in hardware_concurrency()
93 if (ns > chrono::nanoseconds::zero()) { in hardware_concurrency()
/freebsd/contrib/ntp/libntp/lib/isc/win32/
H A Dtime.c62 unsigned int nanoseconds) in isc_interval_set() argument
65 REQUIRE(nanoseconds < NS_PER_S); in isc_interval_set()
71 + (nanoseconds + NS_INTERVAL - 1) / NS_INTERVAL; in isc_interval_set()
84 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { in isc_time_set() argument
90 REQUIRE(nanoseconds < NS_PER_S); in isc_time_set()
97 i1.QuadPart += (unsigned __int64)nanoseconds/100; in isc_time_set()
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dcadence-quadspi.txt28 - cdns,tshsl-ns : Delay in nanoseconds for the length that the master
31 - cdns,tsd2d-ns : Delay in nanoseconds between one chip select being
33 - cdns,tchsh-ns : Delay in nanoseconds between last bit of current
36 - cdns,tslch-ns : Delay in nanoseconds between setting qspi_n_ss_out low
/freebsd/sys/sys/
H A Dlock_profile.h42 u_int64_t nanoseconds(void);
58 *waittime = nanoseconds(); in lock_profile_obtain_lock_failed()
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dcadence-quadspi.txt29 - cdns,tshsl-ns : Delay in nanoseconds for the length that the master
32 - cdns,tsd2d-ns : Delay in nanoseconds between one chip select being
34 - cdns,tchsh-ns : Delay in nanoseconds between last bit of current
37 - cdns,tslch-ns : Delay in nanoseconds between setting qspi_n_ss_out low
H A Dspi-fsl-dspi.txt29 - fsl,spi-cs-sck-delay: a delay in nanoseconds between activating chip
31 - fsl,spi-sck-cs-delay: a delay in nanoseconds between stopping the clock
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DTimer.h44 void addToTotal(std::chrono::nanoseconds time) { total += time.count(); } in addToTotal()
52 std::atomic<std::chrono::nanoseconds::rep> total;
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dtime.h48 unsigned int seconds, unsigned int nanoseconds);
88 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DChrono.h30 /// The default precision is nanoseconds. If you need a specific precision
33 template <typename D = std::chrono::nanoseconds>
40 template <typename D = std::chrono::nanoseconds> in toTimeT()
70 /// Convert a std::time_t + nanoseconds to a TimePoint
74 return time_point_cast<nanoseconds>(system_clock::from_time_t(T))
75 + nanoseconds(nsec);
H A DProcess.h86 std::chrono::nanoseconds &user_time,
87 std::chrono::nanoseconds &sys_time);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/Windows/
H A DWindowsSupport.h204 inline std::chrono::nanoseconds toDuration(FILETIME Time) { in toDuration()
210 return std::chrono::nanoseconds(100 * TimeInteger.QuadPart); in toDuration()
222 return TimePoint<>(std::chrono::nanoseconds(100 * TimeInteger.QuadPart)); in toTimePoint()
/freebsd/tools/test/ppsapi/
H A DREADME29 assert nanoseconds (tv_nsec)
32 clear nanoseconds (tv_nsec)
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c.txt38 Number of nanoseconds the SCL signal takes to fall; t(f) in the I2C
42 Number of nanoseconds the IP core additionally needs to setup SCL.
45 Number of nanoseconds the SCL signal takes to rise; t(r) in the I2C
49 Number of nanoseconds the SDA signal takes to fall; t(f) in the I2C
60 (i2c-digital-filter). This width is specified in nanoseconds.
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dfsl-mx25-tcq.txt14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds.
20 - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Domap-gpmc.txt57 Chip-select signal timings (in nanoseconds) corresponding to GPMC_CONFIG2:
62 ADV signal timings (in nanoseconds) corresponding to GPMC_CONFIG3:
70 WE signals timings (in nanoseconds) corresponding to GPMC_CONFIG4:
74 OE signals timings (in nanoseconds) corresponding to GPMC_CONFIG4:
80 Access time and cycle time timings (in nanoseconds) corresponding to
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DTimer.cpp106 m_category.m_nanos += std::chrono::nanoseconds(timer_dur).count(); in ~Timer()
107 m_category.m_nanos_total += std::chrono::nanoseconds(total_dur).count(); in ~Timer()

1234