/freebsd/contrib/ntp/libntp/lib/isc/unix/ |
H A D | time.c | 88 unsigned int seconds, unsigned int nanoseconds) in isc_interval_set() argument 93 i->seconds = seconds; in isc_interval_set() 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 121 t->seconds = seconds; in isc_time_set() 129 t->seconds = 0; in isc_time_settoepoch() 138 if (t->seconds == 0 && t->nanoseconds == 0) in isc_time_isepoch() 175 * Ensure the tv_sec value fits in t->seconds. in isc_time_now() 177 if (sizeof(tv.tv_sec) > sizeof(t->seconds) && in isc_time_now() 181 t->seconds = tv.tv_sec; in isc_time_now() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ddr/ |
H A D | jedec,lpddr3-timings.yaml | 36 CKE minimum pulse width (HIGH and LOW pulse width) in pico seconds. 42 SELF REFRESH) in pico seconds. 47 Four-bank activate window in pico seconds. 52 Mode register set command delay in pico seconds. 57 Additional READ-to-READ delay in chip-to-chip cases in pico seconds. 62 Row active time in pico seconds. 67 ACTIVATE-to-ACTIVATE command period in pico seconds. 72 RAS-to-CAS delay in pico seconds. 77 Refresh Cycle time in pico seconds. 82 Row precharge time (all banks) in pico seconds. [all …]
|
H A D | jedec,lpddr2-timings.yaml | 30 SELF REFRESH) in pico seconds. 35 DQS output data access time from CK_t/CK_c in pico seconds. 41 seconds. 46 Four-bank activate window in pico seconds. 50 Row active time in nano seconds. 55 Row active time in pico seconds. 60 RAS-to-CAS delay in pico seconds. 65 Row precharge time (all banks) in pico seconds. 70 Active bank A to active bank B in pico seconds. 75 Internal READ to PRECHARGE command delay in pico seconds. [all …]
|
/freebsd/contrib/libucl/tests/ |
H A D | test_speed.c | 70 double start, end, seconds; in main() local 100 seconds = end - start; in main() 101 printf ("ucl: parsed input in %.4f seconds\n", seconds); in main() 112 seconds = end - start; in main() 113 printf ("ucl: emitted config in %.4f seconds\n", seconds); in main() 121 seconds = end - start; in main() 122 printf ("ucl: emitted json in %.4f seconds\n", seconds); in main() 130 seconds = end - start; in main() 131 printf ("ucl: emitted compact json in %.4f seconds\n", seconds); in main() 139 seconds = end - start; in main() [all …]
|
/freebsd/contrib/tzdata/ |
H A D | leapseconds | 1 # Allowance for leap seconds added to each time zone file. 6 # NIST/IERS format leap-seconds.list file, which can be copied from 7 # <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list> 9 # <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>. 10 # For more about leap-seconds.list, please see 11 # The NTP Timescale and Leap Seconds 14 # The rules for leap seconds are specified in Annex 1 (Time scales) of: 20 # periodically uses leap seconds to keep UTC to within 0.9 s of UT1 28 # There were no leap seconds before 1972, as no official mechanism 30 # rotation. The first ("1 Jan 1972") data line in leap-seconds.list [all …]
|
H A D | leapseconds.awk | 1 # Generate zic format 'leapseconds' from NIST/IERS format 'leap-seconds.list'. 8 # year 1900 plus 10**10 seconds. However, in practice 13 # (the year 1900 plus 2**53 seconds). By then leap seconds will be 19 print "# Allowance for leap seconds added to each time zone file." 24 print "# NIST/IERS format leap-seconds.list file, which can be copied from" 25 print "# <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list>" 27 print "# <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>." 28 print "# For more about leap-seconds.list, please see" 29 print "# The NTP Timescale and Leap Seconds" 32 print "# The rules for leap seconds are specified in Annex 1 (Time scales) of:" [all …]
|
H A D | leap-seconds.list | 5 # clocks. UTC differs from TAI by an integer number of seconds; it is the basis 19 # Leap seconds are needed to keep the two time scales in agreement, i.e. UT1-UTC smaller 20 # than 0.9 seconds. Therefore, when necessary a "leap second" is applied to UTC. 21 # Since the adoption of this system in 1972 it has been necessary to add a number of seconds to UTC, 25 # all leap seconds have been positive (a second has been added to UTC). Based on what we know about 31 # leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with… 38 # Observatory. According to international agreements, leap seconds should be scheduled only for cer… 40 # and September. Since the introduction of leap seconds in 1972, only dates in June and December we… 55 # given in units of seconds since 1900.0. 74 # LIST OF LEAP SECONDS [all …]
|
/freebsd/usr.sbin/ntp/ntpd/ |
H A D | leap-seconds | 5 # clocks. UTC differs from TAI by an integer number of seconds; it is the basis 19 # Leap seconds are needed to keep the two time scales in agreement, i.e. UT1-UTC smaller 20 # than 0.9 seconds. Therefore, when necessary a "leap second" is applied to UTC. 21 # Since the adoption of this system in 1972 it has been necessary to add a number of seconds to UTC, 25 # all leap seconds have been positive (a second has been added to UTC). Based on what we know about 31 # leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with… 38 # Observatory. According to international agreements, leap seconds should be scheduled only for cer… 40 # and September. Since the introduction of leap seconds in 1972, only dates in June and December we… 55 # given in units of seconds since 1900.0. 74 # LIST OF LEAP SECONDS [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | parse_time.3 | 51 .Fn unparse_time "int seconds" "char *buf" "size_t len" 53 .Fn unparse_time_approx "int seconds" "char *buf" "size_t len" 58 into a number of seconds. 73 that is they take a number of seconds and express that as human 102 returns the number of seconds that represents the expression in 143 $ ./a.out "1 minute 30 seconds" "90 s" "1 y -1 s" 149 1 minute = 60 seconds 153 unparse_time = 1 minute 30 seconds 157 unparse_time = 1 minute 30 seconds 161 unparse_time = 12 months 4 days 23 hours 59 minutes 59 seconds
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/ |
H A D | zpool_export_parallel_pos.ksh | 91 SECONDS=0 95 sequential_time=$SECONDS 96 log_note "sequentially exported 4 pools in $sequential_time seconds" 101 SECONDS=0 106 parallel_time=$SECONDS 107 log_note "asyncronously exported 4 pools in $parallel_time seconds" 122 SECONDS=0 124 parallel_time=$SECONDS 125 log_note "asyncronously exported 4 pools, using '-a', in $parallel_time seconds"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_parallel_pos.ksh | 98 SECONDS=0 102 sequential_time=$SECONDS 103 log_note "sequentially imported 4 pools in $sequential_time seconds" 108 SECONDS=0 113 parallel_time=$SECONDS 114 log_note "asyncronously imported 4 pools in $parallel_time seconds" 130 SECONDS=0 132 parallel_time=$SECONDS 133 log_note "asyncronously imported 4 pools in $parallel_time seconds"
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_tsyncpci.c | 103 // be tracked as the number of seconds from this date/time. 143 unsigned int secsDouble; /* seconds floating pt */ 144 unsigned char seconds; /* seconds whole num */ member 174 ** TSYNC Seconds Time Object 178 unsigned int seconds; member 395 double seconds; in tsync_poll() local 518 /* Read the leap seconds info from the TSYNC-PCI device */ in tsync_poll() 590 // Pull seconds information from time object in tsync_poll() 591 seconds in tsync_poll() [all...] |
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/ |
H A D | events_common.kshlib | 40 SECONDS=0 43 if [[ $SECONDS -gt $timeout ]]; then 44 echo file_wait_event exceeded $SECONDS seconds 55 # Wait for up to 'timeout' seconds for the 'file' to settle, i.e. 56 # not be updated for a period of 'delay' seconds. 64 SECONDS=0 67 if [[ $SECONDS -gt $timeout ]]; then 68 echo file_wait exceeded $SECONDS seconds
|
/freebsd/sys/net/route/ |
H A D | route_temporal.c | 86 int seconds; in expire_callout() local 98 seconds = (next_expire - time_uptime); in expire_callout() 99 if (seconds < 0) in expire_callout() 100 seconds = 0; in expire_callout() 101 callout_reset_sbt(&rnh->expire_callout, SBT_1S * seconds, in expire_callout() 126 int seconds; in tmproutes_update() local 138 seconds = (nh_expire - time_uptime); in tmproutes_update() 139 if (seconds < 0) in tmproutes_update() 140 seconds = 0; in tmproutes_update() 141 callout_reset_sbt(&rnh->expire_callout, SBT_1S * seconds, in tmproutes_update()
|
/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | time_zone.h | 69 return __get_info(chrono::time_point_cast<seconds>(__time)); in get_info() 74 return __get_info(chrono::time_point_cast<seconds>(__time)); in get_info() 80 …_LIBCPP_HIDE_FROM_ABI sys_time<common_type_t<_Duration, seconds>> to_sys(const local_time<_Duratio… in to_sys() 84 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys() 103 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI sys_time<common_type_t<_Duration, seconds>> 109 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys() 114 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys() 117 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.second.offse… in to_sys() 133 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI local_time<common_type_t<_Duration, seconds>> 135 using _Dp = common_type_t<_Duration, seconds>; in to_local() [all …]
|
/freebsd/lib/libsys/ |
H A D | sleep.3 | 33 .Nd suspend thread execution for an interval measured in seconds 39 .Fn sleep "unsigned int seconds" 44 .Fa seconds 45 seconds have elapsed or a signal is delivered to the thread and its 53 .Fa seconds 54 seconds or until a signal occurs. 67 slept) in seconds.
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteClientBase.h | 40 bool SendAsyncSignal(int signo, std::chrono::seconds interrupt_timeout); 42 bool Interrupt(std::chrono::seconds interrupt_timeout); 46 llvm::StringRef payload, std::chrono::seconds interrupt_timeout, 49 // If interrupt_timeout == 0 seconds, don't interrupt the target. 59 std::chrono::seconds interrupt_timeout = std::chrono::seconds(0)); 68 std::chrono::seconds interrupt_timeout, 73 // If interrupt_timeout == 0 seconds, only take the lock if the target is 80 std::chrono::seconds interrupt_timeout = std::chrono::seconds(0)); 92 std::chrono::seconds m_interrupt_timeout;
|
/freebsd/contrib/tzcode/ |
H A D | date.1 | 18 .I seconds 137 the seconds part of the new time; if no seconds are given, zero is assumed. 144 .BI "\*-r " seconds 146 .I seconds 148 .I seconds 161 /usr/share/zoneinfo/GMT for UTC leap seconds 164 UTC leap seconds are loaded from /usr/share/zoneinfo/GMT0 if present.
|
H A D | newctime.3 | 84 timestamp represents the time in seconds since 1970-01-01 00:00:00 87 and must ignore leap seconds. 91 Some implementations support leap seconds, in contradiction to POSIX. 204 expressed in seconds. 257 int tm_sec; /\(** seconds (0\*(en60) \(**/ 267 long tm_gmtoff; /\(** offset from UT in seconds (optional) \(**/ 279 is the offset (in seconds) of the time represented 329 /usr/share/zoneinfo/GMT for UTC leap seconds 332 UTC leap seconds are loaded from /usr/share/zoneinfo/GMT0 if present.
|
/freebsd/contrib/ntp/libntp/lib/isc/unix/include/isc/ |
H A D | time.h | 40 unsigned int seconds; member 50 unsigned int seconds, unsigned int nanoseconds); 52 * Set 'i' to a value representing an interval of 'seconds' seconds and 84 unsigned int seconds; member 91 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds); 93 * Set 't' to a value which represents the given number of seconds and 100 * isc_interval_set(i, seconds, nanoseconds); 243 * Return the number of seconds since the epoch stored in a time structure. 253 * Ensure the number of seconds in an isc_time_t is representable by a time_t. 256 *\li The number of seconds stored in an isc_time_t might be larger [all …]
|
/freebsd/usr.sbin/watchdogd/ |
H A D | watchdogd.8 | 81 of the check and defaults to 10 seconds. 85 specifies the desired timeout period in seconds. 86 The default timeout is 128 seconds. 97 specifies the threshold (in seconds) at which the watchdogd will complain 107 argument is the timeout period (in seconds) to leave in effect when the 149 At "timeout" seconds before the watchdog will fire attempt an action. 229 Set the watchdog to trip at 30 seconds. (-t 30) 248 Set a pre-timeout of 15 seconds (this will later trigger a panic/dump). 276 Set hard timeout to 120 seconds (-t 120) 278 Set a panic to happen at 60 seconds (to trigger a [all …]
|
/freebsd/bin/sleep/ |
H A D | sleep.c | 53 "Unit can be 's' (seconds, the default), " in usage() 93 double seconds; in main() local 106 seconds = 0; in main() 108 seconds += parse_interval(*argv++); in main() 109 if (seconds > INT_MAX) in main() 111 if (seconds < 1e-9) in main() 113 original = time_to_sleep.tv_sec = (time_t)seconds; in main() 114 time_to_sleep.tv_nsec = 1e9 * (seconds - time_to_sleep.tv_sec); in main()
|
/freebsd/usr.bin/rusers/ |
H A D | rusers.c | 102 int days, hours, minutes, seconds; in rusers_reply() local 133 seconds = idle; in rusers_reply() 134 days = seconds / (60 * 60 * 24); in rusers_reply() 135 seconds %= (60 * 60 * 24); in rusers_reply() 136 hours = seconds / (60 * 60); in rusers_reply() 137 seconds %= (60 * 60); in rusers_reply() 138 minutes = seconds / 60; in rusers_reply() 139 seconds %= 60; in rusers_reply() 141 sprintf(idle_time, "%d:%02d", minutes, seconds); in rusers_reply() 144 hours, minutes, seconds); in rusers_reply() [all …]
|
/freebsd/tests/sys/sys/ |
H A D | time_test.c | 56 /* 2 seconds https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263073 */ in ATF_TC_BODY() 59 /* 4 seconds */ in ATF_TC_BODY() 84 /* 2 seconds https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263073 */ in ATF_TC_BODY() 87 /* 4 seconds */ in ATF_TC_BODY() 112 /* 2 seconds https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263073 */ in ATF_TC_BODY() 115 /* 4 seconds */ in ATF_TC_BODY() 140 /* 2 seconds */ in ATF_TC_BODY() 143 /* 4 seconds */ in ATF_TC_BODY() 169 /* 2 seconds */ in ATF_TC_BODY() 172 /* 4 seconds */ in ATF_TC_BODY() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | ti,palmas-pwrbutton.txt | 16 - ti,palmas-long-press-seconds: Duration in seconds which the power 20 - ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds 32 ti,palmas-long-press-seconds = <12>; 33 ti,palmas-pwron-debounce-milli-seconds = <15>;
|