| /xen/tools/xenmon/ |
| A D | xenbaked.c | 936 run_time = now - start; in qos_update_thread() 951 update_blocked_time(domid, now); in qos_update_thread() 963 new_qos->qdata[n].timestamp = now; in qos_update_thread() 981 qos_update_all(now, cpu); in qos_update_thread_stats() 982 advance_next_datapoint(now); in qos_update_thread_stats() 985 qos_update_thread(cpu, domid, now); in qos_update_thread_stats() 996 update_blocked_time(domid, now); in qos_switch_in() 1095 update_blocked_time(domid, now); in qos_state_runnable() 1122 uint64_t now = 0; in process_record() local 1132 now = ((double)now) / (opts.cpu_freq / 1000.0); in process_record() [all …]
|
| /xen/tools/libxl/ |
| A D | test_common.c | 17 struct timeval now; variable 21 int r = gettimeofday(&now, 0); assert(!r); in test_common_get_now() 36 &poll_timeout, now); in test_common_beforepoll() 56 libxl_osevent_afterpoll(ctx, poll_nfds, poll_fds, now); in test_common_afterpoll()
|
| A D | libxl_event.h | 263 struct timeval now) 279 struct timeval now)
|
| A D | test_common.h | 19 extern struct timeval now;
|
| A D | libxl_event.c | 468 struct timeval now; in time_rel_to_abs() local 470 rc = libxl__gettimeofday(gc, &now); in time_rel_to_abs() 473 timeradd(&now, &additional, abs_out); in time_rel_to_abs() 1307 timersub(&etime->abs, &now, &rel); in beforepoll_internal() 1325 struct timeval now) in libxl_osevent_beforepoll() argument 1463 if (timercmp(&etime->abs, &now, >)) in afterpoll_internal() 1479 struct timeval now) in libxl_osevent_afterpoll() argument 1866 struct timeval now; in eventloop_iteration() local 1868 rc = libxl__gettimeofday(gc, &now); in eventloop_iteration() 1877 &timeout, now); in eventloop_iteration() [all …]
|
| /xen/tools/tests/vhpet/ |
| A D | main.c | 379 now = hpet_readl(HPET_COUNTER); in hpet_set_mode() 435 if ( now != 67752 ) in hpet_check_stopped() 437 __func__, __LINE__, timer, 67752, 67752, now, now); in hpet_check_stopped() 468 if ( now != 67752 ) in hpet_check_stopped() 470 __func__, __LINE__, timer, 67752, 67752, now, now); in hpet_check_stopped() 499 if ( now != 67700 ) in hpet_check_stopped() 501 __func__, __LINE__, timer, 67752, 67752, now, now); in hpet_check_stopped() 521 if ( now != 67700 ) in hpet_check_stopped() 523 __func__, __LINE__, timer, 67752, 67752, now, now); in hpet_check_stopped() 549 if ( now != 67700 ) in hpet_check_stopped() [all …]
|
| /xen/xen/common/sched/ |
| A D | credit2.c | 1826 svc->start_time = now; in reset_credit() 1880 svc->start_time = now; in burn_credits() 2030 s_time_t now; in unpark_parked_units() local 2058 now = NOW(); in unpark_parked_units() 2079 s_time_t now; in replenish_domain_budget() local 2084 now = NOW(); in replenish_domain_budget() 2238 s_time_t now; in csched2_unit_wake() local 2276 now = NOW(); in csched2_unit_wake() 2282 runq_tickle(ops, svc, now); in csched2_unit_wake() 2301 s_time_t now = NOW(); in csched2_context_saved() local [all …]
|
| A D | rt.c | 454 svc->last_start = now; in rt_update_deadline() 872 s_time_t now; in rt_unit_insert() local 885 now = NOW(); in rt_unit_insert() 947 svc->last_start = now; in burn_budget() 952 svc->last_start = now; in burn_budget() 1074 burn_budget(ops, scurr, now); in rt_schedule() 1107 snext->last_start = now; in rt_schedule() 1251 s_time_t now; in rt_unit_wake() local 1278 now = NOW(); in rt_unit_wake() 1456 s_time_t now; in repl_timer_handler() local [all …]
|
| A D | arinc653.c | 512 s_time_t now, in a653sched_do_schedule() argument 525 sched_priv->next_major_frame = now + DEFAULT_TIMESLICE; in a653sched_do_schedule() 526 else if ( now >= sched_priv->next_major_frame ) in a653sched_do_schedule() 532 sched_priv->next_major_frame = now + sched_priv->major_frame; in a653sched_do_schedule() 533 next_switch_time = now + sched_priv->schedule[0].runtime; in a653sched_do_schedule() 537 while ( (now >= next_switch_time) in a653sched_do_schedule() 575 BUG_ON(now >= sched_priv->next_major_frame); in a653sched_do_schedule() 592 prev->next_time = next_switch_time - now; in a653sched_do_schedule()
|
| A D | core.c | 2050 s_time_t now; in vcpu_periodic_timer_work_locked() local 2053 now = NOW(); in vcpu_periodic_timer_work_locked() 2056 if ( now >= periodic_next_event ) in vcpu_periodic_timer_work_locked() 2059 v->periodic_last_event = now; in vcpu_periodic_timer_work_locked() 2125 next->state_entry_time = now; in sched_switch_units() 2149 now); in sched_switch_units() 2425 next = do_schedule(prev, now, cpu); in sched_wait_rendezvous_in() 2515 s_time_t now; in sched_slave() local 2526 now = NOW(); in sched_slave() 2579 s_time_t now; in schedule() local [all …]
|
| /xen/tools/xenstore/ |
| A D | xenstored_domain.h | 95 void wrl_credit_update(struct domain *domain, struct wrl_timestampt now); 97 struct wrl_timestampt now, 99 void wrl_log_periodic(struct wrl_timestampt now);
|
| A D | xenstored_domain.c | 1046 domain->wrl_timestamp = now; in wrl_credit_update() 1057 struct wrl_timestampt now, in wrl_check_timeout() argument 1063 wrl_credit_update(domain, now); in wrl_check_timeout() 1091 #define WRL_LOG(now, ...) \ argument 1096 struct wrl_timestampt now; in wrl_apply_debit_actual() local 1102 wrl_gettime_now(&now); in wrl_apply_debit_actual() 1103 wrl_credit_update(domain, now); in wrl_apply_debit_actual() 1113 WRL_LOG(now, "domain %ld is affected", in wrl_apply_debit_actual() 1116 WRL_LOG(now, "rate limiting restarts"); in wrl_apply_debit_actual() 1118 wrl_log_last_warning = now.sec; in wrl_apply_debit_actual() [all …]
|
| /xen/xen/common/ |
| A D | timer.c | 457 s_time_t now, deadline; in timer_softirq_action() local 492 now = NOW(); in timer_softirq_action() 496 ((t = heap[1])->expires < now) ) in timer_softirq_action() 503 while ( ((t = ts->list) != NULL) && (t->expires < now) ) in timer_softirq_action() 525 now = NOW(); in timer_softirq_action() 527 (deadline == STIME_MAX) ? 0 : MAX(deadline, now + timer_slop); in timer_softirq_action() 543 static void dump_timer(struct timer *t, s_time_t now) in dump_timer() argument 546 (t->expires - now) / 1000, t, t->function, t->data); in dump_timer() 554 s_time_t now = NOW(); in dump_timerq() local 566 dump_timer(ts->heap[j], now); in dump_timerq() [all …]
|
| A D | perfc.c | 34 s_time_t now = NOW(); in perfc_printall() local 36 printk("Xen performance counters SHOW (now = %"PRI_stime")\n", now); in perfc_printall() 121 s_time_t now = NOW(); in perfc_reset() local 124 printk("Xen performance counters RESET (now = %"PRI_stime")\n", now); in perfc_reset()
|
| A D | spinlock.c | 389 s_time_t now = NOW(); in spinlock_profile_printall() local 392 diff = now - lock_profile_start; in spinlock_profile_printall() 394 "%"PRI_stime")\n", now, diff); in spinlock_profile_printall() 409 s_time_t now = NOW(); in spinlock_profile_reset() local 412 printk("Xen lock profile info RESET (now = %"PRI_stime")\n", now); in spinlock_profile_reset() 413 lock_profile_start = now; in spinlock_profile_reset()
|
| /xen/xen/arch/x86/acpi/ |
| A D | cpuidle_menu.c | 150 s_time_t duration, now; in avg_intr_interval_us() local 154 now = NOW(); in avg_intr_interval_us() 155 duration = (data->pf.duration + (now - data->pf.time_stamp) in avg_intr_interval_us() 168 data->pf.time_stamp = now; in avg_intr_interval_us()
|
| /xen/tools/xl/ |
| A D | xl_info.c | 730 static char *current_time_to_string(time_t now) in current_time_to_string() argument 735 tmp = localtime(&now); in current_time_to_string() 747 static void print_dom0_uptime(int short_mode, time_t now) in print_dom0_uptime() argument 776 now_str = current_time_to_string(now); in print_dom0_uptime() 809 uptime = now - s_time; in print_domU_uptime() 813 now_str = current_time_to_string(now); in print_domU_uptime() 835 time_t now; in print_uptime() local 838 now = time(NULL); in print_uptime() 844 print_dom0_uptime(short_mode, now); in print_uptime() 858 print_dom0_uptime(short_mode, now); in print_uptime() [all …]
|
| /xen/xen/arch/x86/hvm/viridian/ |
| A D | time.c | 145 int64_t now = time_ref_count(v->domain); in start_stimer() local 162 expiration = now + vs->count; in start_stimer() 174 if ( expiration - now <= 0 ) in start_stimer() 175 missed = ((now - expiration) / vs->count) + 1; in start_stimer() 187 expiration = now + vs->count; in start_stimer() 189 expiration = now + (vs->count / missed); in start_stimer() 195 if ( expiration - now <= 0 ) in start_stimer() 202 ASSERT(expiration - now > 0); in start_stimer() 205 timeout = (expiration - now) * 100ull; in start_stimer()
|
| /xen/xen/arch/arm/arm32/lib/ |
| A D | findbit.S | 32 bne .L_found @ any now set - found zero bit 52 eor r3, r3, #0xff @ now looking for a 1 bit 73 bne .L_found @ any now set - found zero bit 111 bne .L_found @ any now set - found zero bit 128 eor r3, r3, #0xff @ now looking for a 1 bit 145 bne .L_found @ any now set - found zero bit
|
| /xen/tools/firmware/vgabios/ |
| A D | ChangeLog | 66 - now using symbolic name for CRTC address register 73 - all 4bpp VBE modes now enabled 92 definition now in vbetables-gen.c) 183 - biossums utility now supports VGABIOS sizes up to 64 kBytes 403 - C definitions from header files now used assembler code 537 - dynamicly genarated vbe mode_info list works now 658 - current VBE mode now stored in BDA (unused address 0xBA) 805 set. LFB detection is now present in the function 841 - vbe_biosfn_return_current_mode() now returns the active 843 biosfn_set_video_mode() now clears the screen in CGA mode [all …]
|
| /xen/xen/arch/x86/ |
| A D | time.c | 780 s_time_t now, plt_now, plt_wrap; in plt_overflow() local 788 now = NOW(); in plt_overflow() 794 if ( ABS(plt_wrap - now) > ABS(plt_now - now) ) in plt_overflow() 1572 cycles_t start, now, prev, end; in check_tsc_warp() local 1579 now = start; in check_tsc_warp() 1590 now = rdtsc_ordered(); in check_tsc_warp() 1591 last_tsc = now; in check_tsc_warp() 1812 s_time_t now; in init_percpu_time() local 1872 t->stamp.master_stime = now; in init_percpu_time() 1886 t->stamp.local_stime = now; in init_percpu_time() [all …]
|
| /xen/xen/arch/x86/hvm/ |
| A D | vpt.c | 42 u64 now; in hvm_get_guest_time_fixed() local 48 now = get_s_time_fixed(at_tsc) + pl->stime_offset; in hvm_get_guest_time_fixed() 52 if ( (int64_t)(now - pl->last_guest_time) > 0 ) in hvm_get_guest_time_fixed() 53 pl->last_guest_time = now; in hvm_get_guest_time_fixed() 55 now = ++pl->last_guest_time; in hvm_get_guest_time_fixed() 59 return now + v->arch.hvm.stime_offset; in hvm_get_guest_time_fixed() 186 s_time_t missed_ticks, now = NOW(); in pt_process_missed_ticks() local 191 missed_ticks = now - pt->scheduled; in pt_process_missed_ticks()
|
| /xen/tools/console/client/ |
| A D | main.c | 106 int start, now; in get_pty_fd() local 110 start = now = time(NULL); in get_pty_fd() 113 tv.tv_sec = (start + seconds) - now; in get_pty_fd() 130 } while (pty_fd == -1 && (now = time(NULL)) < start + seconds); in get_pty_fd()
|
| /xen/ |
| A D | CHANGELOG.md | 28 - The CPUID data seen by a guest on boot is now moved in the migration 29 stream. A guest migrating between non-identical hardware will now no
|
| /xen/tools/ocaml/xenstored/ |
| A D | xenstored.ml | 386 let periodic_ops now = 402 if !ring_scan_interval >= 0 && now > (!last_scan_time +. float !ring_scan_interval) then 403 (last_scan_time := now; Domains.iter domains ring_scan_checker); 406 if now > (!last_stat_time +. 120.) then ( 407 info "Transaction conflict statistics for last %F seconds:" (now -. !last_stat_time); 408 last_stat_time := now; 430 let elapsed = Unix.gettimeofday () -. now in 474 let now = Unix.gettimeofday () in 475 if now > !period_start +. period_ops_interval then 476 (period_start := now; periodic_ops now)
|