Home
last modified time | relevance | path

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

123

/xen/xen/common/
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 Dspinlock.c117 lock->profile->time_hold += NOW() - lock->profile->time_locked; \
121 #define LOCK_PROFILE_BLOCK block = block ? : NOW();
125 lock->profile->time_locked = NOW(); \
255 lock->profile->time_locked = NOW(); in _spin_trylock()
268 s_time_t block = NOW(); in _spin_barrier()
281 lock->profile->time_block += NOW() - block; in _spin_barrier()
389 s_time_t now = NOW(); in spinlock_profile_printall()
409 s_time_t now = NOW(); in spinlock_profile_reset()
464 pc->time = NOW() - lock_profile_start; in spinlock_profile_control()
A Drandom.c16 next = val ?: NOW(); in get_random()
A Dkeyhandler.c255 s_time_t now = NOW(); in dump_domains()
287 i, (u32)((d->watchdog_timer[i].expires - NOW()) >> 30)); in dump_domains()
364 per_cpu(read_clocks_time, cpu) = NOW(); in read_clocks_slave()
387 per_cpu(read_clocks_time, cpu) = NOW(); in read_clocks()
A Dperfc.c34 s_time_t now = NOW(); in perfc_printall()
121 s_time_t now = NOW(); in perfc_reset()
A Dtimer.c492 now = NOW(); in timer_softirq_action()
525 now = NOW(); in timer_softirq_action()
554 s_time_t now = NOW(); in dump_timerq()
/xen/xen/arch/arm/
A Dguest_atomics.c31 s_time_t deadline = NOW() + MICROSECS(1); in calibrate_safe_atomic()
51 } while (NOW() < deadline); in calibrate_safe_atomic()
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()
432 s_time_t deadline = NOW() + MILLISECS(100); in gicv3_disable_its()
447 } while ( NOW() <= deadline ); in gicv3_disable_its()
A Dsmpboot.c451 deadline = NOW() + MILLISECS(1000); in __cpu_up()
453 while ( !cpu_online(cpu) && NOW() < deadline ) in __cpu_up()
/xen/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()
249 j_dbs_info->prev_cpu_wall = NOW(); in cpufreq_governor_dbs()
384 s_time_t 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/xen/arch/x86/cpu/mcheck/
A Dnon-fatal.c85 set_timer(&mce_timer, NOW() + period); in mce_work_fn()
112 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/xen/drivers/passthrough/vtd/
A Ddmar.h113 s_time_t start_time = NOW(); \
118 if ( NOW() > start_time + DMAR_OPERATION_TIMEOUT ) { \
A Dquirks.c189 start_time = NOW(); in snb_vtd_ops_preamble()
192 if ( NOW() > start_time + snb_igd_timeout ) in snb_vtd_ops_preamble()
/xen/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.c308 static uint64_t get_stime_tick(void) { return (uint64_t)NOW(); } in get_stime_tick()
341 current_stime = NOW(); in print_acpi_power()
466 if ( (expires > NOW() || expires == 0) && !softirq_pending(cpu) ) in mwait_idle_with_hints()
479 if ( expires <= NOW() && expires > 0 ) in mwait_idle_with_hints()
1517 current_stime = NOW(); in pmstat_get_cx_stat()
1528 current_stime = NOW(); in pmstat_get_cx_stat()
/xen/xen/arch/x86/
A Dtime.c788 now = NOW(); in plt_overflow()
1069 start = NOW(); in get_cmos_time()
1071 t1 = NOW() - start; in get_cmos_time()
1075 start = NOW(); in get_cmos_time()
1077 t2 = NOW() - start; in get_cmos_time()
1407 set_timer(&calibration_timer, NOW() + EPOCH); in cpu_frequency_change()
1554 set_timer(&calibration_timer, NOW() + EPOCH); in local_time_calibration()
1965 stime_platform_stamp = NOW(); in try_platform_timer_tail()
1971 set_timer(&calibration_timer, NOW() + EPOCH); in try_platform_timer_tail()
2048 do_settime(get_wallclock_time(), 0, NOW()); in init_xen_time()
[all …]
A Dnmi.c217 set_timer(&this_cpu(nmi_timer), NOW() + MILLISECS(1000)); in nmi_timer_fn()
440 set_timer(&per_cpu(nmi_timer, cpu), NOW()); in cpu_nmi_callback()
A Dhpet.c187 now = NOW(); in handle_hpet_broadcast()
484 if ( ch->event_handler && ch->next_event < NOW() ) in set_channel_irq_affinity()
721 reprogram_hpet_evt_channel(ch, deadline, NOW(), 1); in hpet_broadcast_enter()
/xen/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/xen/arch/x86/hvm/
A Drtc.c115 now = NOW(); in check_for_pf_ticks()
149 s_time_t now = NOW(); in rtc_timer_update()
197 expire_time = NOW() + next_update_time; in check_update_timer()
207 expire_time = NOW() + next_update_time; in check_update_timer()
276 next_update_time = next_update_time * NS_PER_USEC + NOW(); in alarm_timer_update()
862 s->start_time = NOW(); in rtc_init()
/xen/xen/common/sched/
A Dcore.c325 delta = NOW() - runstate->state_entry_time; in vcpu_runstate_get()
590 unit->state_entry_time = NOW(); in sched_init_vcpu()
817 vcpu_runstate_change(v, RUNSTATE_offline, NOW()); in vcpu_sleep_nosync_locked()
874 vcpu_runstate_change(v, RUNSTATE_runnable, NOW()); in vcpu_wake()
890 vcpu_runstate_change(v, RUNSTATE_offline, NOW()); in vcpu_wake()
1945 s_time_t offset = timeout - NOW(); in do_set_timer_op()
1967 set_timer(&v->singleshot_timer, NOW() + MILLISECS(100)); in do_set_timer_op()
2053 now = NOW(); in vcpu_periodic_timer_work_locked()
2235 unit->state_entry_time = NOW(); in unit_context_saved()
2526 now = NOW(); in sched_slave()
[all …]
A Dcredit2.c1929 update_load(svc->sdom->dom->cpupool->sched, svc->rqd, svc, -1, NOW()); in park_unit()
2058 now = NOW(); in unpark_parked_units()
2084 now = NOW(); in replenish_domain_budget()
2192 svc->load_last_update = NOW() >> LOADAVG_GRANULARITY_SHIFT; in csched2_alloc_udata()
2226 update_load(ops, svc->rqd, svc, -1, NOW()); in csched2_unit_sleep()
2276 now = NOW(); in csched2_unit_wake()
2301 s_time_t now = NOW(); in csched2_context_saved()
2876 s_time_t now = NOW(); in csched2_unit_migrate()
3005 sdom->next_repl = NOW() + CSCHED2_BDGT_REPL_PERIOD; in csched2_dom_cntl()
3049 burn_credits(rqd, svc, NOW()); in csched2_dom_cntl()

Completed in 66 milliseconds

123