Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 89) sorted by relevance

1234

/xen-4.10.0-shim-comet/tools/xenmon/
A Dxenbaked.c934 run_time = now - start; in qos_update_thread()
949 update_blocked_time(domid, now); in qos_update_thread()
961 new_qos->qdata[n].timestamp = now; in qos_update_thread()
979 qos_update_all(now, cpu); in qos_update_thread_stats()
980 advance_next_datapoint(now); in qos_update_thread_stats()
983 qos_update_thread(cpu, domid, now); in qos_update_thread_stats()
994 update_blocked_time(domid, now); in qos_switch_in()
1093 update_blocked_time(domid, now); in qos_state_runnable()
1120 uint64_t now = 0; in process_record() local
1130 now = ((double)now) / (opts.cpu_freq / 1000.0); in process_record()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dscheduler.c68 struct timeval now; in scheduler_prepare_events() local
78 gettimeofday(&now, NULL); in scheduler_prepare_events()
97 diff = event->deadline - now.tv_sec; in scheduler_prepare_events()
112 struct timeval now; in scheduler_event_callback() local
113 gettimeofday(&now, NULL); in scheduler_event_callback()
123 struct timeval now; in scheduler_run_events() local
126 gettimeofday(&now, NULL); in scheduler_run_events()
154 (event->deadline <= now.tv_sec)) in scheduler_run_events()
168 struct timeval now; in scheduler_register_event() local
180 gettimeofday(&now, NULL); in scheduler_register_event()
[all …]
A Dblock-cache.c297 struct timeval now; in radix_tree_find_leaf() local
302 gettimeofday(&now, NULL); in radix_tree_find_leaf()
307 link->time = now.tv_sec; in radix_tree_find_leaf()
324 struct timeval now; in radix_tree_add_leaf() local
329 gettimeofday(&now, NULL); in radix_tree_add_leaf()
334 link->time = now.tv_sec; in radix_tree_add_leaf()
413 radix_tree_node_t *node, uint32_t now) in radix_tree_prune_branch() argument
425 if (now - link->time < BLOCK_CACHE_PAGE_IDLETIME) { in radix_tree_prune_branch()
459 struct timeval now; in radix_tree_prune() local
467 gettimeofday(&now, NULL); in radix_tree_prune()
[all …]
A Dtapdisk-filter.c114 struct timeval now; in check_hash() local
115 gettimeofday(&now, NULL); in check_hash()
120 now.tv_sec, (unsigned long long)now.tv_usec); in check_hash()
/xen-4.10.0-shim-comet/tools/libxl/
A Dtest_common.c17 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 Dlibxl_event.h263 struct timeval now)
279 struct timeval now)
A Dtest_common.h19 extern struct timeval now;
/xen-4.10.0-shim-comet/tools/tests/vhpet/
A Dmain.c379 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-4.10.0-shim-comet/xen/common/
A Dsched_credit2.c1663 svc->start_time = now; in reset_credit()
1718 svc->start_time = now; in burn_credits()
1868 s_time_t now; in unpark_parked_vcpus() local
1896 now = NOW(); in unpark_parked_vcpus()
1917 s_time_t now; in replenish_domain_budget() local
1922 now = NOW(); in replenish_domain_budget()
2075 s_time_t now; in csched2_vcpu_wake() local
2113 now = NOW(); in csched2_vcpu_wake()
2119 runq_tickle(ops, svc, now); in csched2_vcpu_wake()
2138 s_time_t now = NOW(); in csched2_context_saved() local
[all …]
A Dsched_rt.c460 svc->last_start = now; in rt_update_deadline()
930 s_time_t now; in rt_vcpu_insert() local
940 now = NOW(); in rt_vcpu_insert()
1002 svc->last_start = now; in burn_budget()
1007 svc->last_start = now; in burn_budget()
1127 burn_budget(ops, scurr, now); in rt_schedule()
1154 snext->last_start = now; in rt_schedule()
1298 s_time_t now; in rt_vcpu_wake() local
1325 now = NOW(); in rt_vcpu_wake()
1503 s_time_t now; in repl_timer_handler() local
[all …]
A Dperfc.c34 s_time_t now = NOW(); in perfc_printall() local
37 (u32)(now>>32), (u32)now); in perfc_printall()
122 s_time_t now = NOW(); in perfc_reset() local
126 (u32)(now>>32), (u32)now); in perfc_reset()
A Dspinlock.c358 s_time_t now = NOW(); in spinlock_profile_printall() local
361 diff = now - lock_profile_start; in spinlock_profile_printall()
363 "total = %08X:%08X)\n", (u32)(now>>32), (u32)now, in spinlock_profile_printall()
379 s_time_t now = NOW(); in spinlock_profile_reset() local
383 (u32)(now>>32), (u32)now); in spinlock_profile_reset()
384 lock_profile_start = now; in spinlock_profile_reset()
A Dtimer.c448 s_time_t now, deadline; in timer_softirq_action() local
475 now = NOW(); in timer_softirq_action()
479 ((t = heap[1])->expires < now) ) in timer_softirq_action()
486 while ( ((t = ts->list) != NULL) && (t->expires < now) ) in timer_softirq_action()
508 now = NOW(); in timer_softirq_action()
510 (deadline == STIME_MAX) ? 0 : MAX(deadline, now + timer_slop); in timer_softirq_action()
526 static void dump_timer(struct timer *t, s_time_t now) in dump_timer() argument
529 (t->expires - now) / 1000, t, t->function, t->data); in dump_timer()
537 s_time_t now = NOW(); in dump_timerq() local
549 dump_timer(ts->heap[j], now); in dump_timerq()
[all …]
A Dsched_arinc653.c534 s_time_t now, in a653sched_do_schedule() argument
548 sched_priv->next_major_frame = now + DEFAULT_TIMESLICE; in a653sched_do_schedule()
549 else if ( now >= sched_priv->next_major_frame ) in a653sched_do_schedule()
555 sched_priv->next_major_frame = now + sched_priv->major_frame; in a653sched_do_schedule()
556 next_switch_time = now + sched_priv->schedule[0].runtime; in a653sched_do_schedule()
560 while ( (now >= next_switch_time) in a653sched_do_schedule()
598 BUG_ON(now >= sched_priv->next_major_frame); in a653sched_do_schedule()
615 ret.time = next_switch_time - now; in a653sched_do_schedule()
/xen-4.10.0-shim-comet/tools/xenstore/
A Dxenstored_domain.c877 domain->wrl_timestamp = now; in wrl_credit_update()
888 struct wrl_timestampt now, in wrl_check_timeout() argument
894 wrl_credit_update(domain, now); in wrl_check_timeout()
922 #define WRL_LOG(now, ...) \ argument
927 struct wrl_timestampt now; in wrl_apply_debit_actual() local
933 wrl_gettime_now(&now); in wrl_apply_debit_actual()
934 wrl_credit_update(domain, now); in wrl_apply_debit_actual()
944 WRL_LOG(now, "domain %ld is affected", in wrl_apply_debit_actual()
947 WRL_LOG(now, "rate limiting restarts"); in wrl_apply_debit_actual()
949 wrl_log_last_warning = now.sec; in wrl_apply_debit_actual()
[all …]
A Dxenstored_domain.h87 void wrl_credit_update(struct domain *domain, struct wrl_timestampt now);
89 struct wrl_timestampt now,
91 void wrl_log_periodic(struct wrl_timestampt now);
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dtime.c654 now = NOW(); in plt_overflow()
660 if ( ABS(plt_wrap - now) > ABS(plt_now - now) ) in plt_overflow()
999 s_time_t now; in get_s_time_fixed() local
1008 return now; in get_s_time_fixed()
1368 now = start; in check_tsc_warp()
1379 now = rdtsc_ordered(); in check_tsc_warp()
1380 last_tsc = now; in check_tsc_warp()
1601 s_time_t now; in init_percpu_time() local
1611 t->stamp.master_stime = now; in init_percpu_time()
1625 t->stamp.local_stime = now; in init_percpu_time()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/
A Dcpuidle_menu.c150 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-4.10.0-shim-comet/tools/xl/
A Dxl_info.c724 static char *current_time_to_string(time_t now) in current_time_to_string() argument
729 tmp = localtime(&now); in current_time_to_string()
741 static void print_dom0_uptime(int short_mode, time_t now) in print_dom0_uptime() argument
770 now_str = current_time_to_string(now); in print_dom0_uptime()
803 uptime = now - s_time; in print_domU_uptime()
807 now_str = current_time_to_string(now); in print_domU_uptime()
829 time_t now; in print_uptime() local
832 now = time(NULL); in print_uptime()
838 print_dom0_uptime(short_mode, now); in print_uptime()
852 print_dom0_uptime(short_mode, now); in print_uptime()
[all …]
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/lib/
A Dfindbit.S32 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-4.10.0-shim-comet/tools/firmware/vgabios/
A DChangeLog66 - 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-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dvpt.c41 u64 now; in hvm_get_guest_time_fixed() local
47 now = get_s_time_fixed(at_tsc) + pl->stime_offset; in hvm_get_guest_time_fixed()
51 if ( (int64_t)(now - pl->last_guest_time) > 0 ) in hvm_get_guest_time_fixed()
52 pl->last_guest_time = now; in hvm_get_guest_time_fixed()
54 now = ++pl->last_guest_time; in hvm_get_guest_time_fixed()
58 return now + v->arch.hvm_vcpu.stime_offset; in hvm_get_guest_time_fixed()
158 s_time_t missed_ticks, now = NOW(); in pt_process_missed_ticks() local
163 missed_ticks = now - pt->scheduled; in pt_process_missed_ticks()
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/
A Dcpufreq_ondemand.c374 s_time_t now; in cpufreq_dbs_timer_resume() local
380 now = NOW(); in cpufreq_dbs_timer_resume()
382 if (t->expires <= now) in cpufreq_dbs_timer_resume()
388 set_timer(t, align_timer(now , dbs_tuners_ins.sampling_rate)); in cpufreq_dbs_timer_resume()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dvtimer.c203 s_time_t now; in vtimer_cntp_tval() local
208 now = NOW() - v->domain->arch.phys_timer_base.offset; in vtimer_cntp_tval()
212 *r = (uint32_t)(ns_to_ticks(v->arch.phys_timer.cval - now) & 0xffffffffull); in vtimer_cntp_tval()
216 v->arch.phys_timer.cval = now + ticks_to_ns(*r); in vtimer_cntp_tval()
/xen-4.10.0-shim-comet/tools/console/client/
A Dmain.c106 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()

Completed in 63 milliseconds

1234