/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | duration.h | 35 class _LIBCPP_TEMPLATE_VIS duration; variable 41 struct __is_duration<duration<_Rep, _Period> > : true_type {}; 44 struct __is_duration<const duration<_Rep, _Period> > : true_type {}; 47 struct __is_duration<volatile duration<_Rep, _Period> > : true_type {}; 50 struct __is_duration<const volatile duration<_Rep, _Period> > : true_type {}; 55 struct _LIBCPP_TEMPLATE_VIS common_type<chrono::duration<_Rep1, _Period1>, chrono::duration<_Rep2, … 56 …typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, typename __ratio_gcd<_Period1, … 106 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration duration_cast(const duration<_Rep, _Peri… 107 return __duration_cast<duration<_Rep, _Period>, _ToDuration>()(__fd); 128 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration floor(const duration<_Rep, _Period>& __d… [all …]
|
H A D | time_point.h | 13 #include <__chrono/duration.h> 33 template <class _Clock, class _Duration = typename _Clock::duration> 36 "Second template parameter of time_point must be a std::chrono::duration"); 40 typedef _Duration duration; typedef 41 typedef typename duration::rep rep; 42 typedef typename duration::period period; 45 duration __d_; 48 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 time_point() : __d_(duration::zero()) {} in time_point() 49 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit time_point(const duration& __d) : __d… in time_point() 52 template <class _Duration2, __enable_if_t<is_convertible<_Duration2, duration>::value, int> = 0> [all …]
|
H A D | zoned_time.h | 20 # include <__chrono/duration.h> 61 … "the program is ill-formed since _Duration is not a specialization of std::chrono::duration"); 71 using duration = common_type_t<_Duration, seconds>; 105 sys_time<duration>>) 112 sys_time<duration>>) 118 sys_time<duration>>) 125 sys_time<duration>>) 169 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI operator sys_time<duration>() const { return get_sys_time(); } 170 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI explicit operator local_time<duration>() const { return get_lo… 173 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI local_time<duration> get_local_time() const { return __zone_->… [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | chrono | 28 duration_cast(const duration<Rep, Period>& fd); 44 // duration 47 class duration 49 static_assert(!__is_duration<Rep>::value, "A duration representation can not be a duration"); 50 …static_assert(__is_ratio<Period>::value, "Second template parameter of duration must be a std::rat… 51 static_assert(Period::num > 0, "duration period must be positive"); 56 constexpr duration() = default; 58 constexpr explicit duration(const Rep2& r, 68 constexpr duration(const duration<Rep2, Period2>& d, 81 constexpr common_type<duration>::type operator+() const; [all …]
|
H A D | condition_variable | 37 template <class Clock, class Duration> 40 const chrono::time_point<Clock, Duration>& abs_time); 42 template <class Clock, class Duration, class Predicate> 45 const chrono::time_point<Clock, Duration>& abs_time, 51 const chrono::duration<Rep, Period>& rel_time); 56 const chrono::duration<Rep, Period>& rel_time, 82 template <class Lock, class Clock, class Duration> 85 const chrono::time_point<Clock, Duration>& abs_time); 87 template <class Lock, class Clock, class Duration, class Predicate> 90 const chrono::time_point<Clock, Duration>& abs_time, [all …]
|
H A D | shared_mutex | 57 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 58 template <class Clock, class Duration> 59 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 67 try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time); 68 template <class Clock, class Duration> 70 try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time); 86 template <class Clock, class Duration> 88 const chrono::time_point<Clock, Duration>& abs_time); 91 const chrono::duration<Rep, Period>& rel_time); 103 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); [all …]
|
/freebsd/contrib/ldns/ |
H A D | duration.c | 2 * $Id: duration.c 4518 2011-02-24 15:39:09Z matthijs $ 41 #include <ldns/duration.h> 50 * Create a new 'instant' duration. 56 ldns_duration_type* duration; in ldns_duration_create() local 58 duration = malloc(sizeof(ldns_duration_type)); in ldns_duration_create() 59 if (!duration) { in ldns_duration_create() 62 duration->years = 0; in ldns_duration_create() 63 duration->months = 0; in ldns_duration_create() 64 duration->weeks = 0; in ldns_duration_create() 65 duration->days = 0; in ldns_duration_create() [all …]
|
/freebsd/contrib/ldns/ldns/ |
H A D | duration.h | 2 * $Id: duration.h 4341 2011-01-31 15:21:09Z matthijs $ 47 * Duration. 63 * Create a new 'instant' duration. 64 * \return ldns_duration_type* created duration 71 * \param[in] d1 one duration 72 * \param[in] d2 another duration 79 * Create a duration from string. 80 * \param[in] str string-format duration 81 * \return ldns_duration_type* created duration 87 * Convert a duration to a string. [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/arm/cortex-a73/ |
H A D | mmu.json | 3 "PublicDescription": "Duration of a translation table walk handled by the MMU", 6 "BriefDescription": "Duration of a translation table walk handled by the MMU" 9 "PublicDescription": "Duration of a Stage 1 translation table walk handled by the MMU", 12 "BriefDescription": "Duration of a Stage 1 translation table walk handled by the MMU" 15 "PublicDescription": "Duration of a Stage 2 translation table walk handled by the MMU", 18 "BriefDescription": "Duration of a Stage 2 translation table walk handled by the MMU" 21 "PublicDescription": "Duration of a translation table walk requested by the LSU", 24 "BriefDescription": "Duration of a translation table walk requested by the LSU" 27 … "PublicDescription": "Duration of a translation table walk requested by the Instruction Side", 30 "BriefDescription": "Duration of a translation table walk requested by the Instruction Side" [all …]
|
H A D | pipeline.json | 15 "PublicDescription": "Duration for which all slots in the Load-Store Unit are busy", 18 "BriefDescription": "Duration for which all slots in the Load-Store Unit are busy" 21 "PublicDescription": "Duration for which all slots in the load-store issue queue are busy", 24 "BriefDescription": "Duration for which all slots in the load-store issue queue are busy" 27 … "PublicDescription": "Duration for which all slots in the data processing issue queue are busy", 30 … "BriefDescription": "Duration for which all slots in the data processing issue queue are busy" 33 "PublicDescription": "Duration for which all slots in the Data Engine issue queue are busy", 36 "BriefDescription": "Duration for which all slots in the Data Engine issue queue are busy"
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/arm/cortex-a75/ |
H A D | mmu.json | 3 "PublicDescription": "Duration of a translation table walk handled by the MMU", 6 "BriefDescription": "Duration of a translation table walk handled by the MMU" 9 …"PublicDescription": "Duration of a Stage 1 translation table walk handled by the MMU. This event … 12 …"BriefDescription": "Duration of a Stage 1 translation table walk handled by the MMU. This event i… 15 …"PublicDescription": "Duration of a Stage 2 translation table walk handled by the MMU. This event … 18 …"BriefDescription": "Duration of a Stage 2 translation table walk handled by the MMU. This event i… 21 "PublicDescription": "Duration of a translation table walk requested by the LSU", 24 "BriefDescription": "Duration of a translation table walk requested by the LSU" 27 … "PublicDescription": "Duration of a translation table walk requested by the instruction side", 30 "BriefDescription": "Duration of a translation table walk requested by the instruction side" [all …]
|
H A D | pipeline.json | 21 "PublicDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy", 24 "BriefDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy" 27 …"PublicDescription": "Duration for which all slots in the load-store issue queue are busy. This ev… 30 …"BriefDescription": "Duration for which all slots in the load-store issue queue are busy. This eve… 33 …"PublicDescription": "Duration for which all slots in the data processing issue queue are busy. Th… 36 …"BriefDescription": "Duration for which all slots in the data processing issue queue are busy. Thi… 39 …"PublicDescription": "Duration for which all slots in the data engine issue queue are busy. This e… 42 …"BriefDescription": "Duration for which all slots in the data engine issue queue are busy. This ev…
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | time-event.h | 20 * and for a certain duration, the driver needs to issue a time event. 32 * time and for a certain duration, it sends a Time Event. The flow against the 41 * What is the duration of the event? 65 * @duration: the duration of the session in TU. 81 u32 duration, u32 min_duration, 116 * @duration: the requested duration in millisecond for the fw to be on the 121 * which means that the fw will stay in the channel for the request %duration 129 int duration, enu [all...] |
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | time_utils.h | 119 using chrono::duration; 125 using fs_duration = typename FileTimeT::duration; 126 using fs_seconds = duration<rep>; 127 using fs_nanoseconds = duration<rep, nano>; 128 using fs_microseconds = duration<rep, micro>; 130 static constexpr rep max_seconds = duration_cast<fs_seconds>(FileTimeT::duration::max()).count(); 133 duration_cast<fs_nanoseconds>(FileTimeT::duration::max() - fs_seconds(max_seconds)).count(); 135 static constexpr rep min_seconds = duration_cast<fs_seconds>(FileTimeT::duration::min()).count(); 138 duration_cast<fs_nanoseconds>((FileTimeT::duration::min() - fs_seconds(min_seconds)) + fs_seconds(1)).count(); 145 static_assert(fs_seconds(min_seconds) + get_min_nsecs() == FileTimeT::duration [all...] |
H A D | filesystem_clock.cpp | 41 typedef chrono::duration<rep> __secs; in now() 43 typedef chrono::duration<rep, nano> __nsecs; in now() 47 return time_point(__secs(tp.tv_sec) + chrono::duration_cast<duration>(__nsecs(tp.tv_nsec))); in now() 49 typedef chrono::duration<rep, nano> __nsecs; in now() 53 return time_point(__secs(tp.tv_sec) + chrono::duration_cast<duration>(__nsecs(tp.tv_nsec))); in now() 55 typedef chrono::duration<rep, micro> __microsecs; in now()
|
/freebsd/lib/libpmc/pmu-events/arch/powerpc/power8/ |
H A D | marked.json | 41 …"BriefDescription": "Duration in cycles to reload with Modified (M) data from another chip's L2 or… 53 …"BriefDescription": "Duration in cycles to reload with Shared (S) data from another chip's L2 or L… 65 …"BriefDescription": "Duration in cycles to reload from another chip's L4 on a different Node or Gr… 77 …"BriefDescription": "Duration in cycles to reload from another chip's memory on the same Node or G… 95 …"BriefDescription": "Duration in cycles to reload from a localtion other than the local core's L2 … 101 "BriefDescription": "Duration in cycles to reload from local core's L2 due to a marked load", 113 …"BriefDescription": "Duration in cycles to reload from local core's L2 with load hit store conflic… 125 …"BriefDescription": "Duration in cycles to reload from local core's L2 with dispatch conflict due … 137 …"BriefDescription": "Duration in cycles to reload from local core's L2 hit without dispatch confli… 149 …"BriefDescription": "Duration in cycles to reload from local core's L2 without conflict due to a m… [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ExponentialBackoff.h | 35 using duration = std::chrono::steady_clock::duration; 44 ExponentialBackoff(duration Timeout, 45 duration MinWait = std::chrono::milliseconds(10), 46 duration MaxWait = std::chrono::milliseconds(500)) 56 duration MinWait; 57 duration MaxWait;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TaskTimer.h | 22 /// Class used to track the duration of long running tasks related to a single 26 /// Execute the given \p task and record its duration. 40 std::chrono::milliseconds duration = in TimeTask() local 42 m_timed_tasks.insert({name.str(), duration}); in TimeTask() 50 /// and the second parameter is the duration of that task. 52 std::chrono::milliseconds duration)> 59 /// Class used to track the duration of long running tasks for reporting.
|
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ |
H A D | st,stm32-fmc2-ebi-props.yaml | 89 description: This property defines the duration of the address setup 93 description: This property defines the duration of the address hold 98 description: This property defines the duration of the data setup phase 106 description: This property defines the duration of the data hold phase 118 description: This property defines the duration of the address setup 122 description: This property defines the duration of the address hold 127 description: This property defines the duration of the data setup 135 description: This property defines the duration of the data hold phase 140 duration in nanoseconds for synchronous transactions. When this timing
|
/freebsd/tools/tools/netrate/netblast/ |
H A D | netblast.c | 45 fprintf(stderr, "netblast [ip] [port] [payloadsize] [duration]\n"); in usage() 62 * some overhead to the signal and timer setup, so the smaller the duration, 66 blast_loop(int s, long duration, u_char *packet, u_int packet_len) in blast_loop() argument 90 it.it_value.tv_sec = duration; in blast_loop() 133 duration); in blast_loop() 142 long payloadsize, duration; in main() local 171 duration = strtoul(argv[4], &dummy, 10); in main() 172 if (duration < 0 || *dummy != '\0') { in main() 173 fprintf(stderr, "Invalid duration time: %s\n", argv[4]); in main() 217 return (blast_loop(s, duration, packet, payloadsize)); in main()
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | time-event.h | 204 * @duration: duration of event in TU 224 __le32 duration; member 272 * @duration: event duration in TU To calculate event duration: 273 * timeEventDuration = min(duration, remainingQuota) 280 __le32 duration; member 286 * Command requests the firmware to create a time event for a certain duration 356 * Command requests the firmware to remain on a channel for a certain duration [all...] |
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | nan_usd.c | 164 unsigned int duration; member 187 unsigned int duration; in wpas_nan_usd_start_listen_cb() local 200 duration = lwork->duration; in wpas_nan_usd_start_listen_cb() 201 if (duration > wpa_s->max_remain_on_chan) in wpas_nan_usd_start_listen_cb() 202 duration = wpa_s->max_remain_on_chan; in wpas_nan_usd_start_listen_cb() 204 lwork->freq, duration); in wpas_nan_usd_start_listen_cb() 205 if (wpa_drv_remain_on_channel(wpa_s, lwork->freq, duration) < 0) { in wpas_nan_usd_start_listen_cb() 216 unsigned int duration) in wpas_nan_de_listen() argument 225 lwork->duration = duration; in wpas_nan_de_listen() 458 unsigned int freq, unsigned int duration) in wpas_nan_usd_remain_on_channel_cb() argument [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | p2p_hostapd.c | 34 int duration) in hostapd_p2p_set_noa() argument 37 "duration=%d", count, start, duration); in hostapd_p2p_set_noa() 48 return hostapd_driver_set_noa(hapd, count, start, duration); in hostapd_p2p_set_noa() 53 hapd->noa_duration = duration; in hostapd_p2p_set_noa() 58 return hostapd_driver_set_noa(hapd, count, start, duration); in hostapd_p2p_set_noa()
|
/freebsd/lib/libpmc/pmu-events/arch/x86/silvermont/ |
H A D | virtual-memory.json | 22 "BriefDescription": "Duration of D-side page-walks in core cycles", 26 …a load) page walk is in progress. Page walk duration divided by number of page walks is the averag… 41 "BriefDescription": "Duration of I-side page-walks in core cycles", 45 … fetch) page walk is in progress. Page walk duration divided by number of page walks is the averag…
|
/freebsd/usr.bin/morse/ |
H A D | morse.c | 389 dot_clock = 1 / dot_clock; /* duration of a dot */ in main() 395 cdot_clock = 1 / cdot_clock; /* duration of a dot */ in main() 519 sound.duration = dot_clock; in play() 523 sound.duration = dot_clock * DASH_LEN; in play() 527 sound.duration = cdot_clock * WORD_SPACE; in play() 530 sound.duration = 0; in play() 532 if (sound.duration) { in play() 538 sound.duration = dot_clock; in play() 544 sound.duration = cdot_clock * CHAR_SPACE; in play() 553 int duration, on, lflags; in ttyout() local [all …]
|