/xen-4.10.0-shim-comet/xen/common/ |
A D | spinlock.c | 98 lock->profile->time_hold += NOW() - lock->profile->time_locked; \ 102 #define LOCK_PROFILE_BLOCK block = block ? : NOW(); 106 lock->profile->time_locked = NOW(); \ 229 lock->profile->time_locked = NOW(); in _spin_trylock() 243 s_time_t block = NOW(); in _spin_barrier() 256 lock->profile->time_block += NOW() - block; in _spin_barrier() 358 s_time_t now = NOW(); in spinlock_profile_printall() 379 s_time_t now = NOW(); in spinlock_profile_reset() 435 pc->time = NOW() - lock_profile_start; in spinlock_profile_control()
|
A D | time.c | 150 return wc_sec + (wc_nsec + NOW()) / 1000000000ULL in get_localtime() 157 return (SECONDS(wc_sec + d->time_offset_seconds) + wc_nsec + NOW()) in get_localtime_us() 163 return wc_sec + (wc_nsec + NOW()) / 1000000000ULL; in get_sec() 173 seconds = NOW() + SECONDS(wc_sec) + wc_nsec; in wallclock_time()
|
A D | random.c | 16 next = val ?: NOW(); in get_random()
|
A D | keyhandler.c | 286 s_time_t now = NOW(); in dump_domains() 319 i, (u32)((d->watchdog_timer[i].expires - NOW()) >> 30)); in dump_domains() 387 per_cpu(read_clocks_time, cpu) = NOW(); in read_clocks_slave() 410 per_cpu(read_clocks_time, cpu) = NOW(); in read_clocks()
|
A D | schedule.c | 205 delta = NOW() - runstate->state_entry_time; in vcpu_runstate_get() 451 vcpu_runstate_change(v, RUNSTATE_offline, NOW()); in vcpu_sleep_nosync() 481 vcpu_runstate_change(v, RUNSTATE_runnable, NOW()); in vcpu_wake() 487 vcpu_runstate_change(v, RUNSTATE_offline, NOW()); in vcpu_wake() 1030 set_timer(&d->watchdog_timer[id], NOW() + SECONDS(timeout)); in domain_watchdog() 1051 set_timer(&d->watchdog_timer[id], NOW() + SECONDS(timeout)); in domain_watchdog() 1260 s_time_t offset = timeout - NOW(); in do_set_timer_op() 1282 set_timer(&v->singleshot_timer, NOW() + MILLISECS(100)); in do_set_timer_op() 1357 s_time_t now = NOW(); in vcpu_periodic_timer_work() 1419 now = NOW(); in schedule()
|
A D | perfc.c | 34 s_time_t now = NOW(); in perfc_printall() 122 s_time_t now = NOW(); in perfc_reset()
|
A D | timer.c | 475 now = NOW(); in timer_softirq_action() 508 now = NOW(); in timer_softirq_action() 537 s_time_t now = NOW(); in dump_timerq()
|
A D | sched_credit.c | 574 NOW() + MILLISECS(prv->tslice_ms)); in init_pdata() 582 set_timer(&spc->ticker, NOW() + MICROSECS(prv->tick_period_us) ); in init_pdata() 697 int hot = ((NOW() - v->last_run_time) < in __csched_vcpu_is_cache_hot() 962 burn_credits(svc, NOW()); in csched_vcpu_acct() 1580 NOW() + MILLISECS(prv->tslice_ms)); in csched_acct() 1607 set_timer(&spc->ticker, NOW() + MICROSECS(prv->tick_period_us) ); in csched_tick() 2246 uint64_t now = NOW(); in csched_tick_resume()
|
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/ |
A D | cpufreq_ondemand.c | 116 cur_ns = NOW(); in dbs_check_cpu() 118 this_dbs_info->prev_cpu_wall = NOW(); in dbs_check_cpu() 185 align_timer(NOW() , dbs_tuners_ins.sampling_rate)); in do_dbs_timer() 195 set_timer(&per_cpu(dbs_timer, dbs_info->cpu), NOW()+dbs_tuners_ins.sampling_rate); in dbs_timer_init() 242 j_dbs_info->prev_cpu_wall = NOW(); in cpufreq_governor_dbs() 380 now = NOW(); in cpufreq_dbs_timer_resume()
|
A D | utility.c | 51 now = NOW(); in cpufreq_residency_update() 140 pxpt->prev_state_wall = NOW(); in cpufreq_statistic_init() 196 pxpt->prev_state_wall = NOW(); in cpufreq_statistic_reset()
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/ |
A D | non-fatal.c | 84 set_timer(&mce_timer, NOW() + period); in mce_work_fn() 110 set_timer(&mce_timer, NOW() + MCE_PERIOD); in init_nonfatal_mce_checker()
|
A D | amd_nonfatal.c | 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-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | dmar.h | 113 s_time_t start_time = NOW(); \ 118 if ( NOW() > start_time + DMAR_OPERATION_TIMEOUT ) { \
|
A D | quirks.c | 190 start_time = NOW(); in snb_vtd_ops_preamble() 193 if ( NOW() > start_time + snb_igd_timeout ) in snb_vtd_ops_preamble()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | time.c | 654 now = NOW(); in plt_overflow() 926 start = NOW(); in get_cmos_time() 928 t1 = NOW() - start; in get_cmos_time() 932 start = NOW(); in get_cmos_time() 934 t2 = NOW() - start; in get_cmos_time() 1196 set_timer(&calibration_timer, NOW() + EPOCH); in cpu_frequency_change() 1343 set_timer(&calibration_timer, NOW() + EPOCH); in local_time_calibration() 1704 stime_platform_stamp = NOW(); in try_platform_timer_tail() 1710 set_timer(&calibration_timer, NOW() + EPOCH); in try_platform_timer_tail() 1787 do_settime(get_wallclock_time(), 0, NOW()); in init_xen_time() [all …]
|
A D | nmi.c | 214 set_timer(&this_cpu(nmi_timer), NOW() + MILLISECS(1000)); in nmi_timer_fn() 428 set_timer(&per_cpu(nmi_timer, cpu), NOW()); in cpu_nmi_callback()
|
A D | hpet.c | 185 now = NOW(); in handle_hpet_broadcast() 487 if ( ch->event_handler && ch->next_event < NOW() ) in set_channel_irq_affinity() 722 reprogram_hpet_evt_channel(ch, deadline, NOW(), 1); in hpet_broadcast_enter()
|
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/ |
A D | cpuidle_menu.c | 154 now = NOW(); in avg_intr_interval_us() 179 s_time_t us = (this_cpu(timer_deadline) - NOW()) / 1000; in get_sleep_length_us()
|
A D | cpu_idle.c | 276 static uint64_t get_stime_tick(void) { return (uint64_t)NOW(); } in get_stime_tick() 312 current_stime = NOW(); in print_acpi_power() 415 if ( (expires > NOW() || expires == 0) && !softirq_pending(cpu) ) in mwait_idle_with_hints() 422 if ( expires <= NOW() && expires > 0 ) in mwait_idle_with_hints() 1250 current_stime = NOW(); in pmstat_get_cx_stat() 1261 current_stime = NOW(); in pmstat_get_cx_stat()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | timer.h | 76 #define timer_is_expired(t) timer_expires_before(t, NOW())
|
A D | time.h | 55 #define NOW() ((s_time_t)get_s_time()) macro
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | vtimer.c | 66 d->arch.phys_timer_base.offset = NOW(); in domain_vtimer_init() 112 t->cval = NOW(); in vcpu_vtimer_init() 208 now = NOW() - v->domain->arch.phys_timer_base.offset; in vtimer_cntp_tval()
|
A D | gic-v3-its.c | 83 s_time_t deadline = NOW() + MILLISECS(1); in its_send_command() 110 } while ( NOW() <= deadline ); in its_send_command() 144 s_time_t deadline = NOW() + MILLISECS(100); in gicv3_its_wait_commands() 158 } while ( NOW() <= deadline ); in gicv3_its_wait_commands() 431 s_time_t deadline = NOW() + MILLISECS(100); in gicv3_disable_its() 446 } while ( NOW() <= deadline ); in gicv3_disable_its()
|
A D | smpboot.c | 407 deadline = NOW() + MILLISECS(1000); in __cpu_up() 409 while ( !cpu_online(cpu) && NOW() < deadline ) in __cpu_up()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | rtc.c | 114 now = NOW(); in check_for_pf_ticks() 148 s_time_t now = NOW(); in rtc_timer_update() 196 expire_time = NOW() + next_update_time; in check_update_timer() 206 expire_time = NOW() + next_update_time; in check_update_timer() 275 next_update_time = next_update_time * NS_PER_USEC + NOW(); in alarm_timer_update() 826 s->start_time = NOW(); in rtc_init()
|