Home
last modified time | relevance | path

Searched refs:MICROSECS (Results 1 – 11 of 11) sorted by relevance

/xen/xen/drivers/cpufreq/
A Dcpufreq_ondemand.c27 #define MIN_DBS_INTERVAL (MICROSECS(100))
62 if ( (sampling_rate > MAX_SAMPLING_RATE / MICROSECS(1)) || in write_ondemand_sampling_rate()
63 (sampling_rate < MIN_SAMPLING_RATE / MICROSECS(1)) ) in write_ondemand_sampling_rate()
66 dbs_tuners_ins.sampling_rate = sampling_rate * MICROSECS(1); in write_ondemand_sampling_rate()
89 *sampling_rate_max = MAX_SAMPLING_RATE/MICROSECS(1); in get_cpufreq_ondemand_para()
90 *sampling_rate_min = MIN_SAMPLING_RATE/MICROSECS(1); in get_cpufreq_ondemand_para()
91 *sampling_rate = dbs_tuners_ins.sampling_rate / MICROSECS(1); in get_cpufreq_ondemand_para()
314 usr_sampling_rate = simple_strtoull(val, NULL, 0) * MICROSECS(1); in cpufreq_dbs_handle_option()
/xen/xen/common/sched/
A Drt.c94 #define RTDS_DEFAULT_PERIOD (MICROSECS(10000))
95 #define RTDS_DEFAULT_BUDGET (MICROSECS(4000))
104 #define RTDS_MIN_PERIOD (MICROSECS(10))
111 #define RTDS_MIN_BUDGET (MICROSECS(10))
1363 op->u.rtds.period = RTDS_DEFAULT_PERIOD / MICROSECS(1); in rt_dom_cntl()
1364 op->u.rtds.budget = RTDS_DEFAULT_BUDGET / MICROSECS(1); in rt_dom_cntl()
1377 svc->budget = MICROSECS(op->u.rtds.budget); in rt_dom_cntl()
1402 local_sched.u.rtds.budget = svc->budget / MICROSECS(1); in rt_dom_cntl()
1403 local_sched.u.rtds.period = svc->period / MICROSECS(1); in rt_dom_cntl()
1419 period = MICROSECS(local_sched.u.rtds.period); in rt_dom_cntl()
[all …]
A Dcredit.c605 set_timer(&spc->ticker, NOW() + MICROSECS(prv->tick_period_us) ); in init_pdata()
1268 prv->ratelimit = MICROSECS(params->ratelimit_us); in csched_sys_cntl()
1269 prv->unit_migr_delay = MICROSECS(params->vcpu_migr_delay_us); in csched_sys_cntl()
1275 params->ratelimit_us = prv->ratelimit / MICROSECS(1); in csched_sys_cntl()
1276 params->vcpu_migr_delay_us = prv->unit_migr_delay / MICROSECS(1); in csched_sys_cntl()
1591 set_timer(&spc->ticker, NOW() + MICROSECS(prv->tick_period_us) ); in csched_tick()
1994 set_timer(&spc->ticker, now + MICROSECS(prv->tick_period_us) in csched_schedule()
2115 prv->ratelimit / MICROSECS(1), in csched_dump()
2118 prv->unit_migr_delay/ MICROSECS(1)); in csched_dump()
2213 prv->ratelimit = MICROSECS(sched_ratelimit_us); in csched_init()
[all …]
A Dcredit2.c227 #define CSCHED2_MIN_TIMER MICROSECS(500)
259 #define CSCHED2_MIGRATE_RESIST ((opt_migrate_resist)*MICROSECS(1))
261 #define CSCHED2_MIGRATE_COMPENSATION MICROSECS(50)
263 #define CSCHED2_RATELIMIT_TICKLE_TOLERANCE MICROSECS(50)
1527 !is_preemptable(cur, now, MICROSECS(prv->ratelimit_us))) ) in tickle_score()
3294 s_time_t ratelimit_min = MICROSECS(prv->ratelimit_us); in csched2_runtime()
3297 MICROSECS(prv->ratelimit_us) - now; in csched2_runtime()
3391 (now - scurr->unit->state_entry_time) < MICROSECS(prv->ratelimit_us) ) in runq_candidate()
/xen/xen/arch/arm/
A Dguest_atomics.c31 s_time_t deadline = NOW() + MICROSECS(1); in calibrate_safe_atomic()
/xen/xen/include/xen/
A Dtime.h58 #define MICROSECS(_us) ((s_time_t)((_us) * 1000ULL)) macro
/xen/xen/common/
A Drcupdate.c126 #define IDLE_TIMER_PERIOD_MIN MICROSECS(100)
139 #define IDLE_TIMER_PERIOD_DECR MICROSECS(100)
/xen/tools/tests/vhpet/
A Demul.h377 #define MICROSECS(_us) ((s_time_t)((_us) * 1000ULL)) macro
/xen/xen/arch/x86/hvm/
A Dhpet.c503 if ( hpet_tick_to_ns(h, new_val) < MICROSECS(100) ) in hpet_write()
504 new_val = (MICROSECS(100) << 10) / h->hpet_to_ns_scale; in hpet_write()
/xen/xen/drivers/char/
A Dehci-dbgp.c1194 goal = NOW() + MICROSECS(DBGP_CHECK_INTERVAL); in ehci_dbgp_flush()
1253 unsigned int timeout = MICROSECS(DBGP_CHECK_INTERVAL); in _ehci_dbgp_poll()
/xen/xen/arch/x86/
A Dhpet.c24 #define MIN_DELTA_NS MICROSECS(20)

Completed in 37 milliseconds