Home
last modified time | relevance | path

Searched refs:NOW (Results 1 – 25 of 51) sorted by relevance

123

/xen-4.10.0-shim-comet/xen/common/
A Dspinlock.c98 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 Dtime.c150 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 Drandom.c16 next = val ?: NOW(); in get_random()
A Dkeyhandler.c286 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 Dschedule.c205 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 Dperfc.c34 s_time_t now = NOW(); in perfc_printall()
122 s_time_t now = NOW(); in perfc_reset()
A Dtimer.c475 now = NOW(); in timer_softirq_action()
508 now = NOW(); in timer_softirq_action()
537 s_time_t now = NOW(); in dump_timerq()
A Dsched_credit.c574 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 Dcpufreq_ondemand.c116 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 Dutility.c51 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 Dnon-fatal.c84 set_timer(&mce_timer, NOW() + period); in mce_work_fn()
110 set_timer(&mce_timer, NOW() + MCE_PERIOD); in init_nonfatal_mce_checker()
A Damd_nonfatal.c200 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 Ddmar.h113 s_time_t start_time = NOW(); \
118 if ( NOW() > start_time + DMAR_OPERATION_TIMEOUT ) { \
A Dquirks.c190 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 Dtime.c654 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 Dnmi.c214 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 Dhpet.c185 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 Dcpuidle_menu.c154 now = NOW(); in avg_intr_interval_us()
179 s_time_t us = (this_cpu(timer_deadline) - NOW()) / 1000; in get_sleep_length_us()
A Dcpu_idle.c276 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 Dtimer.h76 #define timer_is_expired(t) timer_expires_before(t, NOW())
A Dtime.h55 #define NOW() ((s_time_t)get_s_time()) macro
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dvtimer.c66 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 Dgic-v3-its.c83 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 Dsmpboot.c407 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 Drtc.c114 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()

Completed in 43 milliseconds

123