/xen/xen/arch/x86/cpu/mcheck/ |
A D | non-fatal.c | 31 static uint64_t period = MCE_PERIOD; variable 76 period /= (adjust + 1); in mce_work_fn() 78 period *= 2; in mce_work_fn() 79 if (period > MCE_PERIOD_MAX) in mce_work_fn() 80 period = MCE_PERIOD_MAX; in mce_work_fn() 81 if (period < MCE_PERIOD_MIN) in mce_work_fn() 82 period = MCE_PERIOD_MIN; in mce_work_fn() 85 set_timer(&mce_timer, NOW() + period); in mce_work_fn()
|
A D | amd_nonfatal.c | 73 static s_time_t period = MCE_PERIOD; variable 183 period /= adjust; in mce_amd_work_fn() 186 period *= 2; in mce_amd_work_fn() 188 if (variable_period && period > MCE_MAX) { in mce_amd_work_fn() 190 period = MCE_MAX; in mce_amd_work_fn() 192 if (variable_period && period < MCE_MIN) { in mce_amd_work_fn() 197 period = MCE_MIN; in mce_amd_work_fn() 200 set_timer(&mce_timer, NOW() + period); in mce_amd_work_fn() 245 set_timer(&mce_timer, NOW() + period); in amd_nonfatal_mcheck_init()
|
/xen/tools/tests/vhpet/ |
A D | main.c | 226 (unsigned long long) h.period[i], in dump_hpet() 227 (unsigned long long) h.period[i], in dump_hpet() 250 uint64_t delta, uint64_t period, uint8_t irq, in create_periodic_time() argument 275 if ( period ) in create_periodic_time() 279 idx, delta, period, (uint64_t)(S_TO_NS / period), in create_periodic_time() 280 (int)((S_TO_NS / (period / 100ULL)) % 100), irq); in create_periodic_time() 282 if ( delta > (period * (hpet_mult + hpet_add + 160)) ) in create_periodic_time() 285 delta, period); in create_periodic_time() 290 idx, delta, period, irq); in create_periodic_time() 460 dom1.arch.hvm_domain.pl_time.vhpet.hpet.period[timer], in hpet_check_stopped() [all …]
|
A D | emul.h | 152 uint64_t period, uint8_t irq, time_cb *cb, void *data); 171 uint64_t period[HPET_TIMER_NUM]; /* Last value written to comparator */ member 293 uint64_t period[HPET_TIMER_NUM]; /* Last value written to comparator */ member
|
/xen/xen/arch/x86/hvm/ |
A D | vpt.c | 195 missed_ticks = missed_ticks / (s_time_t) pt->period + 1; in pt_process_missed_ticks() 200 pt->scheduled += missed_ticks * pt->period; in pt_process_missed_ticks() 270 pt->scheduled += pt->period; in pt_timer_fn() 299 pt->last_plt_gtime += pt->period; in pt_irq_fired() 342 max_lag = pt->last_plt_gtime + pt->period; in pt_update_irq() 492 (level && period) || in create_periodic_time() 509 if ( (period < 100000) && period ) in create_periodic_time() 513 "small period %"PRIu64"\n", period); in create_periodic_time() 514 period = 100000; in create_periodic_time() 517 pt->period = period; in create_periodic_time() [all …]
|
A D | rtc.c | 97 s->period = 0; in rtc_pf_callback() 116 if ( (now - s->start_time) / s->period in check_for_pf_ticks() 117 != (s->check_ticks_since - s->start_time) / s->period ) in check_for_pf_ticks() 127 int period_code, period, delta; in rtc_timer_update() local 146 period = DIV_ROUND(period * 1000000000ULL, 32768); /* in ns */ in rtc_timer_update() 147 if ( period != s->period ) in rtc_timer_update() 151 s->period = period; in rtc_timer_update() 155 delta = period - ((now - s->start_time) % period); in rtc_timer_update() 171 s->period = 0; in rtc_timer_update() 524 s->period = 0; in rtc_ioport_write() [all …]
|
A D | hpet.c | 93 uint64_t period = h->hpet.period[tn]; in hpet_get_comparator() local 94 if (period) in hpet_get_comparator() 99 comparator += ((elapsed + period) / period) * period; in hpet_get_comparator() 316 hpet_tick_to_ns(h, h->hpet.period[tn]))); in hpet_set_timer() 319 oneshot ? 0 : hpet_tick_to_ns(h, h->hpet.period[tn]), in hpet_set_timer() 463 h->hpet.period[tn] = (uint32_t)h->hpet.period[tn]; in hpet_write() 507 h->hpet.period[tn] = new_val; in hpet_write() 618 C(period[0]); in hpet_save() 619 C(period[1]); in hpet_save() 620 C(period[2]); in hpet_save() [all …]
|
A D | vlapic.c | 720 uint64_t period, delta = 0; in vlapic_update_timer() local 726 period = (uint64_t)vlapic_get_reg(vlapic, APIC_TMICT) in vlapic_update_timer() 731 delta = period; in vlapic_update_timer() 732 else if ( period && vlapic->timer_last_update ) in vlapic_update_timer() 739 time_passed %= period; in vlapic_update_timer() 740 if ( time_passed < period ) in vlapic_update_timer() 741 delta = period - time_passed; in vlapic_update_timer() 764 vlapic->timer_last_update -= period - delta; in vlapic_update_timer() 771 period); in vlapic_update_timer() 1455 uint64_t period, tdt_msr; in lapic_rearm() local [all …]
|
/xen/tools/libxl/ |
A D | libxl_sched.c | 476 if (period < 1) { in sched_rtds_validate_params() 488 if (budget > period) { in sched_rtds_validate_params() 490 "but %d > %d", budget, period); in sched_rtds_validate_params() 542 scinfo->vcpus[i].period = vcpus[i].u.rtds.period; in sched_rtds_vcpu_get() 591 scinfo->vcpus[i].period = vcpus[i].u.rtds.period; in sched_rtds_vcpu_get_all() 642 vcpus[i].u.rtds.period = scinfo->vcpus[i].period; in sched_rtds_vcpu_set() 685 if (sched_rtds_validate_params(gc, scinfo->vcpus[0].period, in sched_rtds_vcpu_set_all() 694 vcpus[i].u.rtds.period = scinfo->vcpus[0].period; in sched_rtds_vcpu_set_all() 729 scinfo->period = sdom.period; in sched_rtds_domain_get() 747 sdom.period = scinfo->period; in sched_rtds_domain_set() [all …]
|
A D | libxl_types.idl | 435 ("period", integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_PERIOD_DEFAULT'}), 449 ("period", integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_PERIOD_DEFAULT'}), 455 # Note that 'period' and 'extratime' was an SDF parameter too, but it is still effective
|
/xen/xen/common/sched/ |
A D | rt.c | 204 s_time_t period; member 339 svc->period, in rt_dump_unit() 435 ASSERT(svc->period != 0); in rt_update_deadline() 440 svc->cur_deadline += svc->period; in rt_update_deadline() 844 svc->period = RTDS_DEFAULT_PERIOD; in rt_alloc_udata() 1356 s_time_t period, budget; in rt_dom_cntl() local 1376 svc->period = MICROSECS(op->u.rtds.period); /* transfer to nanosec */ 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() 1422 budget > period || period < RTDS_MIN_PERIOD ) in rt_dom_cntl() [all …]
|
/xen/xen/include/asm-x86/hvm/ |
A D | vpt.h | 47 u64 period; /* frequency in ns */ member 82 uint64_t period[HPET_TIMER_NUM]; /* Last value written to comparator */ member 111 int period; member 175 uint64_t period, uint8_t irq, time_cb *cb, void *data, bool level);
|
/xen/xen/arch/x86/ |
A D | emul-i8254.c | 168 u32 period; in pit_load_count() local 182 period = DIV_ROUND(val * SYSTEM_TIME_HZ, PIT_FREQ); in pit_load_count() 192 TRACE_2D(TRC_HVM_EMUL_PIT_START_TIMER, period, period); in pit_load_count() 193 create_periodic_time(v, &pit->pt0, period, period, 0, pit_time_fired, in pit_load_count() 199 TRACE_2D(TRC_HVM_EMUL_PIT_START_TIMER, period, 0); in pit_load_count() 200 create_periodic_time(v, &pit->pt0, period, 0, 0, pit_time_fired, in pit_load_count()
|
/xen/docs/process/ |
A D | xen-release-management.pandoc | 21 We can roughly divide one release into two periods. The development period 22 and the freeze period. The former is 6 months long and the latter is about 2 25 During development period, contributors submit patches to be reviewed and 27 which is normally called the "cut-off date", after which the freeze period 33 accepted. This period can be shorter or longer than 2 months. If it ends up 34 longer than 2 months, it eats into the next development period. 58 their components in a timely manner, especially during the freeze period. 64 freeze period they transfer xen-unstable branch ownership and act on the 71 code they submitted during development period. Failing that, the Release 104 ## Development period [all …]
|
/xen/tools/libxc/ |
A D | xc_rt.c | 38 domctl.u.scheduler_op.u.rtds.period = sdom->period; in xc_sched_rtds_domain_set()
|
/xen/xen/include/xen/ |
A D | timer.h | 111 s_time_t align_timer(s_time_t firsttick, uint64_t period);
|
/xen/tools/xl/ |
A D | xl_sched.c | 270 scinfo.period, in sched_rtds_domain_output() 300 scinfo->vcpus[i].period, in sched_rtds_vcpu_output() 332 scinfo->vcpus[i].period, in sched_rtds_vcpu_output_all() 894 scinfo.vcpus[i].period = periods[i]; in main_sched_rtds() 903 scinfo.vcpus[0].period = periods[0]; in main_sched_rtds()
|
/xen/xen/include/public/io/ |
A D | fbif.h | 100 uint32_t period; /* period of refresh, in ms, member
|
A D | sndif.h | 910 } period; member
|
/xen/xen/common/ |
A D | timer.c | 535 s_time_t align_timer(s_time_t firsttick, uint64_t period) in align_timer() argument 537 if ( !period ) in align_timer() 540 return firsttick + (period - 1) - ((firsttick - 1) % period); in align_timer()
|
/xen/docs/ |
A D | glossary.rst | 24 two domains for a period of time, while it is in transit.
|
/xen/tools/ocaml/xenstored/ |
A D | oxenstored.conf.in | 16 # fail in a short period; this value is used for both the initial and
|
/xen/tools/xentrace/ |
A D | formats | 209 …sc)8d) hpet create [ tn = %(1)d, irq = %(2)d, delta = 0x%(4)08x%(3)08x, period = 0x%(6)08x%(5)08x… 210 0x00084002 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) pit create [ delta = 0x%(1)016x, period = 0x%(2)016… 211 0x00084003 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) rtc create [ delta = 0x%(1)016x , period = 0x%(2)01… 212 0x00084004 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) vlapic create [ delta = 0x%(2)08x%(1)08x , period =…
|
/xen/xen/include/public/arch-x86/hvm/ |
A D | save.h | 536 uint64_t period[HPET_TIMER_NUM]; /* Last value written to comparator */ member
|
/xen/tools/ocaml/libs/xs/ |
A D | xs.ml | 80 than wait for the whole timeout period *)
|