/freebsd/contrib/ntp/libntp/lib/isc/unix/ |
H A D | time.c | 38 #define NS_PER_S 1000000000 /*%< Nanoseconds per second. */ 39 #define NS_PER_US 1000 /*%< Nanoseconds per microsecond. */ 43 * All of the INSIST()s checks of nanoseconds < NS_PER_S are for 88 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() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | timespecops.c | 20 /* nanoseconds per second */ 21 #define NANOSECONDS 1000000000 macro 23 /* conversion between l_fp fractions and nanoseconds */ 27 (((u_int64)(tsf) * NANOSECONDS + 0x80000000) >> 32)) 30 ((((u_int64)(tvu) << 32) + NANOSECONDS / 2) / \ 31 NANOSECONDS)) 33 # define NSECFRAC (FRAC / NANOSECONDS) 42 /* make sure nanoseconds are in nominal range */ 55 * fast enough; so we do a division of the nanoseconds in that in normalize_tspec() 61 if (x.tv_nsec < -3l * NANOSECONDS || in normalize_tspec() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/ |
H A D | condition_variable.h | 85 …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/sys/contrib/device-tree/Bindings/memory-controllers/ |
H A D | st,stm32-fmc2-ebi-props.yaml | 86 defined in nanoseconds from NBLx low to Chip Select NEx low. 90 phase in nanoseconds used for asynchronous read/write transactions. 94 phase in nanoseconds used for asynchronous multiplexed read/write 99 in nanoseconds used for asynchronous read/write transactions. 102 description: This property defines the delay in nanoseconds between the 107 in nanoseconds used for asynchronous read/write transactions. 111 nanoseconds. 115 writing the first data in nanoseconds. 119 phase in nanoseconds used for asynchronous write transactions. 123 phase in nanoseconds used for asynchronous multiplexed write [all …]
|
H A D | ingenic,nemc-peripherals.yaml | 24 description: Address setup time in nanoseconds. 28 description: Address hold time in nanoseconds. 32 description: Burst pitch time in nanoseconds. 36 description: Address wait time in nanoseconds. 40 description: Static memory recovery time in nanoseconds.
|
H A D | omap-gpmc.txt | 57 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
|
H A D | rockchip,rk3399-dmc.yaml | 287 Configure the PD_IDLE value in nanoseconds. Defines the power-down idle 289 for PD_IDLE nanoseconds. 293 Configure the SR_IDLE value in nanoseconds. Defines the self-refresh idle 295 for SR_IDLE nanoseconds. 300 Defines the memory self-refresh and controller clock gating idle period in nanoseconds. 302 arg gating started if bus is idle for sr_mc_gate_idle nanoseconds. 308 srpd_lite_idle nanoseconds. This parameter is for LPDDR4 only. 314 if bus is idle for standby_idle nanoseconds.
|
/freebsd/contrib/tcpdump/ |
H A D | print-arista.c | 90 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/ntp/include/ |
H A D | timespecops.h | 14 * pairs of seconds and nanoseconds that denote the same time interval, 20 * nanoseconds of a timespec are signed values. IMHO, the easiest way is 21 * to use a complement representation where the nanoseconds are still 49 /* nanoseconds per second */ 50 #define NANOSECONDS 1000000000 macro 52 /* predicate: returns TRUE if the nanoseconds are in nominal range */ 54 ((x)->tv_nsec >= 0 && (x)->tv_nsec < NANOSECONDS) 56 /* predicate: returns TRUE if the nanoseconds are out-of-bounds */ 62 /* make sure nanoseconds are in nominal range */
|
/freebsd/contrib/ntp/libntp/lib/isc/unix/include/isc/ |
H A D | time.h | 41 unsigned int nanoseconds; member 50 unsigned int seconds, unsigned int nanoseconds); 53 * 'nanoseconds' nanoseconds, suitable for use in isc_time_add() and 59 *\li nanoseconds < 1000000000. 85 unsigned int nanoseconds; member 91 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds); 94 * nanoseconds since 00:00:00 January 1, 1970, UTC. 100 * isc_interval_set(i, seconds, nanoseconds); 106 *\li nanoseconds < 1000000000. 276 * Return the number of nanoseconds stored in a time structure. [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | time.h | 48 unsigned int seconds, unsigned int nanoseconds); 51 * 'nanoseconds' nanoseconds, suitable for use in isc_time_add() and 57 * nanoseconds < 1000000000. 88 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds); 91 * nanoseconds since 00:00:00 January 1, 1970, UTC. 95 *\li nanoseconds < 1000000000. 230 * Return the number of nanoseconds stored in a time structure. 233 * This is the number of nanoseconds in excess of the number
|
/freebsd/sys/contrib/device-tree/Bindings/spi/ |
H A D | cdns,qspi-nor-peripheral-props.yaml | 24 Delay in nanoseconds for the length that the master mode chip select 29 Delay in nanoseconds between one chip select being de-activated 34 Delay in nanoseconds between last bit of current transaction and 39 Delay in nanoseconds between setting qspi_n_ss_out low and
|
H A D | spi-peripheral-props.yaml | 49 Delay in nanoseconds to be introduced by the controller after CS is 54 Delay in nanoseconds to be introduced by the controller before CS is 59 Delay in nanoseconds to be introduced by the controller after CS is 75 description: SPI Rx sample delay offset, unit is nanoseconds. 119 delay in nanoseconds inserted between two consecutive data frames.
|
H A D | cadence-quadspi.txt | 29 - 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
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | this_thread.h | 32 _LIBCPP_EXPORTED_FROM_ABI void sleep_for(const chrono::nanoseconds& __ns); 37 // The standard guarantees a 64bit signed integer resolution for nanoseconds, in sleep_for() 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 D | poll_with_backoff.h | 38 …_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()
|
/freebsd/share/man/man9/ |
H A D | vfs_timestamp.9 | 51 seconds only; nanoseconds are zeroed. 53 seconds and nanoseconds, accurate within 1/HZ. 55 seconds and nanoseconds, truncated to microseconds. 57 seconds and nanoseconds, maximum precision.
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/ |
H A D | time.c | 36 * struct FILETIME uses "100-nanoseconds intervals". 62 unsigned int nanoseconds) in isc_interval_set() argument 65 REQUIRE(nanoseconds < NS_PER_S); in isc_interval_set() 68 * This rounds nanoseconds up not down. 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 D | cadence-quadspi.txt | 28 - 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/contrib/llvm-project/libcxx/src/ |
H A D | condition_variable.cpp | 36 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 D | chrono.cpp | 98 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()
|
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | i2c.txt | 38 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/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | DecodedThread.h | 82 /// the same non-interpolated timestamps in nanoseconds. 84 /// The nanoseconds value for this range. 95 /// Calculate an interpolated timestamp in nanoseconds for the given item 198 /// that have the same nanoseconds timestamp without interpolation. 204 /// The requested nanoseconds range, or \a std::nullopt if not available. 291 /// This map contains the non-interpolated nanoseconds timestamps of the 292 /// decoded trace items. It maps `item index -> nanoseconds`, where `item 293 /// index` is the first index at which the mapped nanoseconds first appears.
|
/freebsd/share/man/man4/ |
H A D | dtrace_lockstat.4 | 107 in nanoseconds, that the mutex spent spinning. 116 in nanoseconds, that the waiting thread was blocked. 145 spent spinning, in nanoseconds. 213 The second argument is the length of time, in nanoseconds, 264 in nanoseconds, that the thread was spinning.
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Chrono.h | 30 /// 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);
|