Home
last modified time | relevance | path

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

12345678910>>...43

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dduration.h35 class duration; variable
41 inline const bool __is_duration_v<duration<_Rep, _Period> > = true;
44 inline const bool __is_duration_v<const duration<_Rep, _Period> > = true;
47 inline const bool __is_duration_v<volatile duration<_Rep, _Period> > = true;
50 inline const bool __is_duration_v<const volatile duration<_Rep, _Period> > = true;
55 struct common_type<chrono::duration<_Rep1, _Period1>, chrono::duration<_Rep2, _Period2> > {
56 …typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, __ratio_gcd<_Period1, _Period2>…
105 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration duration_cast(const duration<_Rep, _Peri…
106 return __duration_cast<duration<_Rep, _Period>, _ToDuration>()(__fd);
127 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>
35 …_duration_v<_Duration>, "Second template parameter of time_point must be a std::chrono::duration");
39 typedef _Duration duration; typedef
40 typedef typename duration::rep rep;
41 typedef typename duration::period period;
44 duration __d_;
47 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 time_point() : __d_(duration::zero()) {} in time_point()
48 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit time_point(const duration& __d) : __d… in time_point()
51 template <class _Duration2, __enable_if_t<is_convertible<_Duration2, duration>::value, int> = 0>
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__chrono/
H A Dduration.h33 class _LIBCPP_TEMPLATE_VIS duration; variable
39 struct __is_duration<duration<_Rep, _Period> > : true_type {};
42 struct __is_duration<const duration<_Rep, _Period> > : true_type {};
45 struct __is_duration<volatile duration<_Rep, _Period> > : true_type {};
48 struct __is_duration<const volatile duration<_Rep, _Period> > : true_type {};
53 struct _LIBCPP_TEMPLATE_VIS common_type<chrono::duration<_Rep1, _Period1>, chrono::duration<_Rep2, …
54 …typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, typename __ratio_gcd<_Period1, …
104 inline _LIBCPP_HIDE_FROM_ABI _ToDuration duration_cast(const duration<_Rep, _Period>& __fd) {
105 return __duration_cast<duration<_Rep, _Period>, _ToDuration>()(__fd);
121 // duration
[all …]
H A Dtime_point.h13 #include <__cxx03/__chrono/duration.h>
31 template <class _Clock, class _Duration = typename _Clock::duration>
34 "Second template parameter of time_point must be a std::chrono::duration");
38 typedef _Duration duration; typedef
39 typedef typename duration::rep rep;
40 typedef typename duration::period period;
43 duration __d_;
46 _LIBCPP_HIDE_FROM_ABI time_point() : __d_(duration::zero()) {} in time_point()
47 _LIBCPP_HIDE_FROM_ABI explicit time_point(const duration& __d) : __d_(__d) {} in time_point()
50 template <class _Duration2, __enable_if_t<is_convertible<_Duration2, duration>::value, int> = 0>
[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/llvm-project/libcxx/include/__cxx03/
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 Dmutex65 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
66 template <class Clock, class Duration>
67 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
83 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
84 template <class Clock, class Duration>
85 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
136 template <class Clock, class Duration>
137 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
139 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time);
152 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(…
145 …static_assert(fs_seconds(min_seconds) + get_min_nsecs() == FileTimeT::duration::min(), "value does…
[all …]
H A Dfilesystem_clock.cpp52 typedef chrono::duration<rep> __secs; in now()
54 typedef chrono::duration<rep, nano> __nsecs; in now()
58 return time_point(__secs(tp.tv_sec) + chrono::duration_cast<duration>(__nsecs(tp.tv_nsec))); in now()
60 typedef chrono::duration<rep, nano> __nsecs; in now()
64 return time_point(__secs(ts.tv_sec) + chrono::duration_cast<duration>(__nsecs(ts.tv_nsec))); in now()
66 typedef chrono::duration<rep, nano> __nsecs; in now()
70 return time_point(__secs(tp.tv_sec) + chrono::duration_cast<duration>(__nsecs(tp.tv_nsec))); in now()
72 typedef chrono::duration<rep, micro> __microsecs; in now()
/freebsd/sys/contrib/dev/rtw89/
H A Dchan.c889 u32 start_time, interval, duration; in rtw89_mcc_fill_role_limit() local
916 duration = le32_to_cpu(noa_desc->duration); in rtw89_mcc_fill_role_limit()
938 max_dur_us = interval - duration; in rtw89_mcc_fill_role_limit()
949 "MCC role limit: insufficient duration\n"); in rtw89_mcc_fill_role_limit()
987 role->duration = role->beacon_interval / 2; in rtw89_mcc_fill_role()
1010 bt_role->duration = rtw89_coex_query_bt_req_len(rtwdev, RTW89_PHY_0); in rtw89_mcc_fill_bt_role()
1013 bt_role->duration); in rtw89_mcc_fill_bt_role()
1152 * |< duration ref >| (if mid bt) |< duration aux >|
1185 max_bcn_ofst = ref->duration + aux->duration; in __rtw89_mcc_calc_pattern_loose()
1188 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.h36 using duration = std::chrono::steady_clock::duration;
45 ExponentialBackoff(duration Timeout,
46 duration MinWait = std::chrono::milliseconds(10),
47 duration MaxWait = std::chrono::milliseconds(500))
57 duration MinWait;
58 duration MaxWait;

12345678910>>...43