| /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/mld/ |
| H A D | session-protect.h | 32 * @duration: the duration in tu of current session 38 u32 duration; member 57 * @duration: the requested duration of the protection 58 * @min_duration: the minimum duration of the protection 63 u32 duration, u32 min_duration, 70 * @duration: the requested duration of the protection 71 * @min_duration: the minimum duration of the protection 82 u32 duration, u32 min_duration,
|
| H A D | session-protect.c | 35 TU_TO_EXP_TIME(session_protect->duration); in iwl_mld_handle_session_prot_notif() 46 u32 duration, u32 min_duration, in _iwl_mld_schedule_session_protection() argument 58 .duration_tu = cpu_to_le32(MSEC_TO_TU(duration)), in _iwl_mld_schedule_session_protection() 76 IWL_DEBUG_TE(mld, "Add a new session protection, duration %d TU\n", in _iwl_mld_schedule_session_protection() 87 session_protect->duration = duration; in _iwl_mld_schedule_session_protection() 95 u32 duration, u32 min_duration, in iwl_mld_schedule_session_protection() argument 100 ret = _iwl_mld_schedule_session_protection(mld, vif, duration, in iwl_mld_schedule_session_protection() 148 u32 duration, u32 min_duration, in iwl_mld_start_session_protection() argument 167 ret = _iwl_mld_schedule_session_protection(mld, vif, duration, in iwl_mld_start_session_protection()
|
| /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 131 int duration, enum ieee80211_roc_type type); 179 * @duration: the duration of the NoA in TU. 189 u32 duration, u32 apply_time); [all …]
|
| /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. 367 * @duration: remain on channel duration in TU 377 __le32 duration; member 383 * Command requests the firmware to remain on a channel for a certain duration. [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...] |
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | chan.c | 824 u32 start_time, interval, duration; in rtw89_mcc_fill_role_limit() local 851 duration = le32_to_cpu(noa_desc->duration); in rtw89_mcc_fill_role_limit() 873 max_dur_us = interval - duration; in rtw89_mcc_fill_role_limit() 884 "MCC role limit: insufficient duration\n"); in rtw89_mcc_fill_role_limit() 922 role->duration = role->beacon_interval / 2; in rtw89_mcc_fill_role() 945 bt_role->duration = rtw89_coex_query_bt_req_len(rtwdev, RTW89_PHY_0); in rtw89_mcc_fill_bt_role() 948 bt_role->duration); in rtw89_mcc_fill_bt_role() 1087 * |< duration ref >| (if mid bt) |< duration aux >| 1120 max_bcn_ofst = ref->duration + aux->duration; in __rtw89_mcc_calc_pattern_loose() 1123 ref->limit.max_toa + aux->duration); in __rtw89_mcc_calc_pattern_loose() [all …]
|
| /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/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/sys/contrib/dev/mediatek/mt76/ |
| H A D | scan.c | 86 int duration = HZ / 9; /* ~110 ms */ in mt76_scan_work() local 108 duration = HZ / 16; /* ~60 ms */ in mt76_scan_work() 115 if (!duration) in mt76_scan_work() 119 duration = max_t(int, duration, in mt76_scan_work() 120 msecs_to_jiffies(req->duration + in mt76_scan_work() 121 (req->duration >> 5))); in mt76_scan_work() 123 ieee80211_queue_delayed_work(dev->phy.hw, &dev->scan_work, duration); in mt76_scan_work()
|