Home
last modified time | relevance | path

Searched refs:s_time_t (Results 1 – 25 of 55) sorted by relevance

123

/xen/xen/include/xen/
A Dtime.h32 typedef s64 s_time_t; typedef
35 s_time_t get_s_time_fixed(u64 at_tick);
36 s_time_t get_s_time(void);
55 #define NOW() ((s_time_t)get_s_time())
56 #define SECONDS(_s) ((s_time_t)((_s) * 1000000000ULL))
57 #define MILLISECS(_ms) ((s_time_t)((_ms) * 1000000ULL))
58 #define MICROSECS(_us) ((s_time_t)((_us) * 1000ULL))
59 #define STIME_MAX ((s_time_t)((uint64_t)~0ull>>1))
61 #define STIME_DELTA_MAX ((s_time_t)((uint64_t)~0ull>>2))
A Dtimer.h19 s_time_t expires;
65 void set_timer(struct timer *timer, s_time_t expires);
74 bool timer_expires_before(struct timer *timer, s_time_t t);
105 DECLARE_PER_CPU(s_time_t, timer_deadline);
108 int reprogram_timer(s_time_t timeout);
111 s_time_t align_timer(s_time_t firsttick, uint64_t period);
A Dspinlock.h79 s_time_t time_hold; /* cumulated lock time */
80 s_time_t time_block; /* cumulated wait time */
81 s_time_t time_locked; /* system time of last locking */
A Dsched.h161 s_time_t periodic_period;
162 s_time_t periodic_last_event;
290 s_time_t next_time;
928 void vcpu_set_periodic_timer(struct vcpu *v, s_time_t value);
A Dhypercall.h73 s_time_t timeout);
A Dirq.h97 s_time_t rl_quantum_start;
/xen/xen/arch/x86/acpi/
A Dcpuidle_menu.c96 s_time_t time_stamp;
97 s_time_t duration;
147 static inline s_time_t avg_intr_interval_us(void) in avg_intr_interval_us()
150 s_time_t duration, now; in avg_intr_interval_us()
151 s_time_t avg_interval; in avg_intr_interval_us()
179 s_time_t us = (this_cpu(timer_deadline) - NOW()) / 1000; in get_sleep_length_us()
192 s_time_t io_interval; in menu_select()
/xen/xen/common/sched/
A Dcredit2.c823 static s_time_t c2t(const struct csched2_runqueue_data *rqd, s_time_t credit, in c2t()
1489 s_time_t now, s_time_t ratelimit) in is_preemptable()
1513 static s_time_t tickle_score(const struct scheduler *ops, s_time_t now, in tickle_score()
1519 s_time_t score; in tickle_score()
1589 s_time_t max = 0; in runq_tickle()
1722 s_time_t score; in runq_tickle()
1853 s_time_t delta; in burn_credits()
2030 s_time_t now; in unpark_parked_units()
2079 s_time_t now; in replenish_domain_budget()
2238 s_time_t now; in csched2_unit_wake()
[all …]
A Darinc653.c98 s_time_t runtime;
135 s_time_t major_frame;
140 s_time_t next_major_frame;
234 s_time_t total_runtime = 0; in arinc653_sched_set()
512 s_time_t now, in a653sched_do_schedule()
517 static s_time_t next_switch_time; in a653sched_do_schedule()
A Drt.c204 s_time_t period;
205 s_time_t budget;
208 s_time_t cur_budget; /* current budget */
209 s_time_t last_start; /* last start time */
294 static s_time_t
432 rt_update_deadline(s_time_t now, struct rt_unit *svc) in rt_update_deadline()
872 s_time_t now; in rt_unit_insert()
931 s_time_t delta; in burn_budget()
1251 s_time_t now; in rt_unit_wake()
1356 s_time_t period, budget; in rt_dom_cntl()
[all …]
A Dcore.c263 struct vcpu *v, int new_state, s_time_t new_entry_time) in vcpu_runstate_change()
265 s_time_t delta; in vcpu_runstate_change()
310 s_time_t delta; in vcpu_runstate_get()
1942 long do_set_timer_op(s_time_t timeout) in do_set_timer_op()
1945 s_time_t offset = timeout - NOW(); in do_set_timer_op()
2050 s_time_t now; in vcpu_periodic_timer_work_locked()
2051 s_time_t periodic_next_event; in vcpu_periodic_timer_work_locked()
2081 void vcpu_set_periodic_timer(struct vcpu *v, s_time_t value) in vcpu_set_periodic_timer()
2096 s_time_t now) in sched_switch_units()
2515 s_time_t now; in sched_slave()
[all …]
/xen/xen/arch/arm/
A Dtime.c57 /*static inline*/ s_time_t ticks_to_ns(uint64_t ticks) in ticks_to_ns()
62 /*static inline*/ uint64_t ns_to_ticks(s_time_t ns) in ns_to_ticks()
193 s_time_t get_s_time(void) in get_s_time()
202 int reprogram_timer(s_time_t timeout) in reprogram_timer()
335 s_time_t deadline = get_s_time() + 1000 * (s_time_t) usecs; in udelay()
A Dguest_atomics.c31 s_time_t deadline = NOW() + MICROSECS(1); in calibrate_safe_atomic()
A Dvtimer.c168 s_time_t expires; in vtimer_cntp_ctl()
205 s_time_t expires; in vtimer_cntp_tval()
238 s_time_t expires; in vtimer_cntp_cval()
/xen/xen/include/asm-arm/
A Dtime.h44 extern s_time_t ticks_to_ns(uint64_t ticks);
45 extern uint64_t ns_to_ticks(s_time_t ns);
/xen/xen/include/asm-x86/hvm/
A Dvpt.h48 s_time_t scheduled; /* scheduled timer interrupt */
109 s_time_t start_time;
110 s_time_t check_ticks_since;
/xen/xen/common/
A Dspinlock.c120 #define LOCK_PROFILE_VAR s_time_t block = 0
268 s_time_t block = NOW(); in _spin_barrier()
350 static s_time_t lock_profile_start;
389 s_time_t now = NOW(); in spinlock_profile_printall()
390 s_time_t diff; in spinlock_profile_printall()
409 s_time_t now = NOW(); in spinlock_profile_reset()
A Dtimer.c45 DEFINE_PER_CPU(s_time_t, timer_deadline);
312 void set_timer(struct timer *timer, s_time_t expires) in set_timer()
343 bool timer_expires_before(struct timer *timer, s_time_t t) in timer_expires_before()
457 s_time_t now, deadline; in timer_softirq_action()
535 s_time_t align_timer(s_time_t firsttick, uint64_t period) in align_timer()
543 static void dump_timer(struct timer *t, s_time_t now) in dump_timer()
554 s_time_t now = NOW(); in dump_timerq()
A Dperfc.c34 s_time_t now = NOW(); in perfc_printall()
121 s_time_t now = NOW(); in perfc_reset()
/xen/xen/arch/x86/
A Dtime.c54 s_time_t local_stime;
55 s_time_t master_stime;
815 s_time_t stime; in read_platform_stime()
834 s_time_t stamp; in platform_time_calibration()
946 u64 stime2tsc(s_time_t stime) in stime2tsc()
950 s_time_t stime_delta; in stime2tsc()
1064 s_time_t start, t1, t2; in get_cmos_time()
1222 s_time_t get_s_time() in get_s_time()
1239 s_time_t tsc_stamp; in __update_vcpu_system_time()
1662 s_time_t master_stime;
[all …]
A Dhpet.c37 s_time_t next_event;
117 s_time_t expire, s_time_t now, int force) in reprogram_hpet_evt_channel()
174 s_time_t now, next_event; in handle_hpet_broadcast()
192 s_time_t deadline = ACCESS_ONCE(per_cpu(timer_deadline, cpu)); in handle_hpet_broadcast()
698 s_time_t deadline = per_cpu(timer_deadline, cpu); in hpet_broadcast_enter()
729 s_time_t deadline = per_cpu(timer_deadline, cpu); in hpet_broadcast_exit()
/xen/tools/tests/vhpet/
A Demul.h31 typedef int64_t s_time_t; typedef
105 #define STIME_MAX ((s_time_t)((uint64_t)~0ull>>1))
377 #define MICROSECS(_us) ((s_time_t)((_us) * 1000ULL))
/xen/xen/include/asm-x86/
A Dtime.h70 u64 stime2tsc(s_time_t stime);
/xen/xen/drivers/passthrough/vtd/
A Ddmar.h113 s_time_t start_time = NOW(); \
/xen/xen/arch/x86/cpu/mcheck/
A Damd_nonfatal.c73 static s_time_t period = MCE_PERIOD;

Completed in 57 milliseconds

123