| /src/contrib/jemalloc/src/ |
| H A D | decay.c | 18 decay_deadline_init(decay_t *decay) { in decay_deadline_init() argument 19 nstime_copy(&decay->deadline, &decay->epoch); in decay_deadline_init() 20 nstime_add(&decay->deadline, &decay->interval); in decay_deadline_init() 21 if (decay_ms_read(decay) > 0) { in decay_deadline_init() 24 nstime_init(&jitter, prng_range_u64(&decay->jitter_state, in decay_deadline_init() 25 nstime_ns(&decay->interval))); in decay_deadline_init() 26 nstime_add(&decay->deadline, &jitter); in decay_deadline_init() 31 decay_reinit(decay_t *decay, nstime_t *cur_time, ssize_t decay_ms) { in decay_reinit() argument 32 atomic_store_zd(&decay->time_ms, decay_ms, ATOMIC_RELAXED); in decay_reinit() 34 nstime_init(&decay->interval, (uint64_t)decay_ms * in decay_reinit() [all …]
|
| H A D | pac.c | 283 pac_ns_until_purge(tsdn_t *tsdn, decay_t *decay, size_t npages) { in pac_ns_until_purge() argument 284 if (malloc_mutex_trylock(tsdn, &decay->mtx)) { in pac_ns_until_purge() 288 uint64_t result = decay_ns_until_purge(decay, npages, in pac_ns_until_purge() 291 malloc_mutex_unlock(tsdn, &decay->mtx); in pac_ns_until_purge() 363 pac_decay_stashed(tsdn_t *tsdn, pac_t *pac, decay_t *decay, in pac_decay_stashed() argument 435 pac_decay_to_limit(tsdn_t *tsdn, pac_t *pac, decay_t *decay, in pac_decay_to_limit() argument 441 if (decay->purging || npages_decay_max == 0) { in pac_decay_to_limit() 444 decay->purging = true; in pac_decay_to_limit() 445 malloc_mutex_unlock(tsdn, &decay->mtx); in pac_decay_to_limit() 452 size_t npurged = pac_decay_stashed(tsdn, pac, decay, in pac_decay_to_limit() [all …]
|
| H A D | arena.c | 68 arena_maybe_do_deferred_work(tsdn_t *tsdn, arena_t *arena, decay_t *decay, 422 arena_decay_impl(tsdn_t *tsdn, arena_t *arena, decay_t *decay, in arena_decay_impl() argument 426 malloc_mutex_lock(tsdn, &decay->mtx); in arena_decay_impl() 427 pac_decay_all(tsdn, &arena->pa_shard.pac, decay, decay_stats, in arena_decay_impl() 429 malloc_mutex_unlock(tsdn, &decay->mtx); in arena_decay_impl() 433 if (malloc_mutex_trylock(tsdn, &decay->mtx)) { in arena_decay_impl() 440 decay, decay_stats, ecache, eagerness); in arena_decay_impl() 444 npages_new = decay_epoch_npages_delta(decay); in arena_decay_impl() 446 malloc_mutex_unlock(tsdn, &decay->mtx); in arena_decay_impl() 450 arena_maybe_do_deferred_work(tsdn, arena, decay, npages_new); in arena_decay_impl() [all …]
|
| /src/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | decay.h | 91 decay_ms_read(const decay_t *decay) { in decay_ms_read() argument 92 return atomic_load_zd(&decay->time_ms, ATOMIC_RELAXED); in decay_ms_read() 100 decay_npages_limit_get(const decay_t *decay) { in decay_npages_limit_get() argument 101 return decay->npages_limit; in decay_npages_limit_get() 106 decay_epoch_npages_delta(const decay_t *decay) { in decay_epoch_npages_delta() argument 107 return decay->backlog[SMOOTHSTEP_NSTEPS - 1]; in decay_epoch_npages_delta() 117 decay_epoch_duration_ns(const decay_t *decay) { in decay_epoch_duration_ns() argument 118 return nstime_ns(&decay->interval); in decay_epoch_duration_ns() 122 decay_immediately(const decay_t *decay) { in decay_immediately() argument 123 ssize_t decay_ms = decay_ms_read(decay); in decay_immediately() [all …]
|
| H A D | pac.h | 149 void pac_decay_all(tsdn_t *tsdn, pac_t *pac, decay_t *decay, 156 bool pac_maybe_decay_purge(tsdn_t *tsdn, pac_t *pac, decay_t *decay,
|
| /src/contrib/llvm-project/libcxx/include/__type_traits/ |
| H A D | decay.h | 33 struct decay { struct 54 struct _LIBCPP_TEMPLATE_VIS decay { 63 using __decay_t = typename decay<_Tp>::type;
|
| /src/usr.sbin/virtual_oss/virtual_oss/ |
| H A D | ctl.c | 357 data.out_lim.decay < VIRTUAL_OSS_DECAY_MIN || in vctl_ioctl() 358 data.out_lim.decay > VIRTUAL_OSS_DECAY_MAX || in vctl_ioctl() 366 voss_output_compressor_param.decay = data.out_lim.decay; in vctl_ioctl() 372 data.out_lim.decay = voss_output_compressor_param.decay; in vctl_ioctl() 389 data.io_lim.param.decay < VIRTUAL_OSS_DECAY_MIN || in vctl_ioctl() 390 data.io_lim.param.decay > VIRTUAL_OSS_DECAY_MAX || in vctl_ioctl() 398 pvp->rx_compressor_param.decay = data.io_lim.param.decay; in vctl_ioctl() 409 data.io_lim.param.decay = pvp->rx_compressor_param.decay; in vctl_ioctl()
|
| H A D | compressor.c | 39 .decay = 20, 72 amp += (1.0 - amp) / (1LL << p_param->decay); in voss_compressor()
|
| H A D | virtual_oss.h | 116 int decay; member
|
| H A D | int.h | 117 uint8_t decay; /* 0..62 */ member
|
| /src/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | tps65086.txt | 28 - ti,regulator-decay : This is applicable for buck[1-6], set this if 29 the output needs to decay, default is for 50 ti,regulator-decay;
|
| /src/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 431 std::is_constructible<typename std::decay<Callable>::type, Callable>, 433 internal::is_callable_r<Result, typename std::decay<Callable>::type, 441 std::is_constructible<typename std::decay<Callable>::type, Callable>, 444 internal::is_callable_r<Result, typename std::decay<Callable>::type>>; 458 OnceAction, typename std::decay<Callable>::type>>, 463 : function_(StdFunctionAdaptor<typename std::decay<Callable>::type>( 475 OnceAction, typename std::decay<Callable>::type>>, 484 : OnceAction(IgnoreIncomingArguments<typename std::decay<Callable>::type>{ 829 fun_ = IgnoreArgs<typename ::std::decay<G>::type>{::std::forward<G>(g)}; 1873 internal::DoAllAction<typename std::decay<Action>::type...> DoAll( [all …]
|
| H A D | gmock-matchers.h | 1541 using RawU = typename std::decay<U>::type; 4286 using RawArgsTuple = typename std::decay<ArgsTuple>::type; 5288 internal::FieldsAreMatcher<typename std::decay<M>::type...> FieldsAre( 5290 return internal::FieldsAreMatcher<typename std::decay<M>::type...>( 5365 std::tuple<typename std::decay<const Args&>::type...>> 5368 std::tuple<typename std::decay<const Args&>::type...>>( 5374 std::tuple<typename std::decay<const Args&>::type...>> 5377 std::tuple<typename std::decay<const Args&>::type...>>( 5383 internal::AllOfMatcher<typename std::decay<const Args&>::type...> AllOf( 5385 return internal::AllOfMatcher<typename std::decay<const Args&>::type...>( [all …]
|
| /src/contrib/jemalloc/ |
| H A D | TUNING.md | 43 between CPU and memory usage. Shorter decay time purges unused pages faster 73 `background_thread:true,metadata_thp:auto` combined with relaxed decay time 79 `background_thread:true,tcache_max:4096` combined with shorter decay time 86 `narenas:1,tcache_max:1024` combined with shorter decay time (decreased 111 tuned options, e.g. relaxed [decay
|
| H A D | ChangeLog | 208 - Avoid forced decay on thread termination when using background threads. 210 - Disable muzzy decay by default. (@djwatson, @interwq) 219 - Properly trigger decay on tcache destroy. (@interwq, @amosbird) 223 - Fix a side effect caused by extent_max_active_fit combined with decay-based 321 - Make decay to always purge one more extent than before, because in 322 practice large extents are usually the ones that cross the decay threshold. 338 - Fix an extent coalesce + decay race by taking both coalescing extents off 340 - Fix potentially unbound increase during decay, caused by one thread keep 366 - Update decay->nunpurged before purging, in order to avoid potential update 413 - Implement two-phase decay of unused dirty pages. Pages transition from [all …]
|
| /src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TransformTypeTraits.def | 16 TRANSFORM_TYPE_TRAIT_DEF(Decay, decay)
|
| /src/sys/netinet/tcp_stacks/ |
| H A D | rack_bbr_common.c | 915 ctf_decay_count(uint32_t count, uint32_t decay) in ctf_decay_count() argument 924 if (decay > 1000) { in ctf_decay_count() 929 decay_per = decay; in ctf_decay_count()
|
| /src/lib/libc/stdlib/malloc/jemalloc/ |
| H A D | Makefile.inc | 9 emap.c edata.c edata_cache.c pa.c pa_extra.c pac.c decay.c hpa.c hpa_hooks.c fxp.c hpdata.c pai.c \
|
| /src/sys/contrib/device-tree/Bindings/regulator/ |
| H A D | vctrl.txt | 28 - min-slew-down-rate : Describes how slowly the regulator voltage will decay
|
| /src/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers_test.h | 126 GtestGreaterThanMatcher<typename std::decay<T>::type> GtestGreaterThan( in GtestGreaterThan()
|
| /src/contrib/llvm-project/libcxx/include/experimental/ |
| H A D | iterator | 56 #include <__type_traits/decay.h>
|
| /src/contrib/jemalloc/include/jemalloc/ |
| H A D | jemalloc_macros.h.in | 36 * Use as arena index in "arena.<i>.{purge,decay,dss}" and
|
| /src/contrib/llvm-project/libcxx/include/ |
| H A D | type_traits | 165 template <class T> struct decay; 226 using decay_t = typename decay<T>::type; // C++14 433 #include <__type_traits/decay.h>
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OperationKinds.def | 112 /// CK_ArrayToPointerDecay - Array to pointer decay. 117 /// CK_FunctionToPointerDecay - Function to pointer decay.
|
| /src/contrib/llvm-project/libcxx/modules/std/ |
| H A D | type_traits.inc | 179 using std::decay;
|