Home
last modified time | relevance | path

Searched full:duration (Results 1 – 25 of 1284) sorted by relevance

12345678910>>...52

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dduration.h35 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 Dtime_point.h13 #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 Dzoned_time.h20 # 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 Dchrono28 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 Dcondition_variable37 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 Dshared_mutex57 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 Dduration.c2 * $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 Dduration.h2 * $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 Dmmu.json3 "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 Dpipeline.json15 "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 Dmmu.json3 "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 Dpipeline.json21 "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 Dsession-protect.h32 * @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 Dsession-protect.c35 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 Dtime-event.h20 * 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 Dtime-event.h204 * @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 Dtime_utils.h119 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 Dchan.c824 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 Dmarked.json41 …"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 DExponentialBackoff.h35 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/tools/tools/netrate/netblast/
H A Dnetblast.c45 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/device-tree/Bindings/memory-controllers/
H A Dst,stm32-fmc2-ebi-props.yaml89 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/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTaskTimer.h22 /// 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.
/illumos-gate/usr/src/man/man1/
H A Dzonestat.132 .Oo Ar duration
302 .It duration
305 The command duration is (interval * duration).
306 A duration of zero is invalid.
307 A duration specified as the textual value
311 Duration can also be specified as [nh][nm][ns].
312 In this case, duration will be interpreted as the duration of execution time.
313 The actual duration will be rounded up to the nearest multiple of the interval.
317 If the command duration is not a multiple of report, then the last report will
323 If the command duration is not a multiple of report, then the last report will
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dnan_usd.c164 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 …]

12345678910>>...52