Home
last modified time | relevance | path

Searched refs:ktime_t (Results 1 – 25 of 625) sorted by relevance

12345678910>>...25

/linux/include/linux/
A Dktime.h29 typedef s64 ktime_t; typedef
95 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare()
111 static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) in ktime_after()
123 static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) in ktime_before()
169 static inline s64 ktime_us_delta(const ktime_t later, const ktime_t earlier) in ktime_us_delta()
174 static inline s64 ktime_ms_delta(const ktime_t later, const ktime_t earlier) in ktime_ms_delta()
179 static inline ktime_t ktime_add_us(const ktime_t kt, const u64 usec) in ktime_add_us()
184 static inline ktime_t ktime_add_ms(const ktime_t kt, const u64 msec) in ktime_add_ms()
189 static inline ktime_t ktime_sub_us(const ktime_t kt, const u64 usec) in ktime_sub_us()
194 static inline ktime_t ktime_sub_ms(const ktime_t kt, const u64 msec) in ktime_sub_ms()
[all …]
A Dtimekeeping.h67 extern ktime_t ktime_get(void);
70 extern ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs);
71 extern ktime_t ktime_get_raw(void);
77 static inline ktime_t ktime_get_real(void) in ktime_get_real()
116 static inline ktime_t ktime_get_coarse(void) in ktime_get_coarse()
147 static inline ktime_t ktime_mono_to_real(ktime_t mono) in ktime_mono_to_real()
248 ktime_t real;
249 ktime_t raw;
263 ktime_t device;
264 ktime_t sys_realtime;
[all …]
A Dhrtimer.h120 ktime_t _softexpires;
166 ktime_t (*get_time)(void);
167 ktime_t offset;
233 ktime_t expires_next;
235 ktime_t softirq_expires_next;
246 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
329 static inline ktime_t
343 static inline ktime_t
428 ktime_t soft, hard; in hrtimer_start_expires()
485 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
[all …]
A Dalarmtimer.h45 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now);
52 enum alarmtimer_restart (*function)(struct alarm *, ktime_t));
53 void alarm_start(struct alarm *alarm, ktime_t start);
54 void alarm_start_relative(struct alarm *alarm, ktime_t start);
59 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
60 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval);
61 ktime_t alarm_expires_remaining(const struct alarm *alarm);
A Dtimekeeper_internal.h41 ktime_t base;
98 ktime_t offs_real;
99 ktime_t offs_boot;
100 ktime_t offs_tai;
104 ktime_t next_leap_ktime;
A Dtime_namespace.h93 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim,
96 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host()
154 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host()
/linux/fs/ocfs2/cluster/
A Dtcp_internal.h159 ktime_t sc_tv_timer;
160 ktime_t sc_tv_data_ready;
161 ktime_t sc_tv_advance_start;
162 ktime_t sc_tv_advance_stop;
163 ktime_t sc_tv_func_start;
164 ktime_t sc_tv_func_stop;
168 ktime_t sc_tv_send_total;
169 ktime_t sc_tv_status_total;
216 ktime_t st_sock_time;
217 ktime_t st_send_time;
[all …]
/linux/fs/ceph/
A Dmetric.h142 ktime_t latency_sum;
143 ktime_t latency_sq_sum;
144 ktime_t latency_min;
145 ktime_t latency_max;
194 ktime_t r_start, ktime_t r_end,
198 ktime_t r_start, ktime_t r_end, in ceph_update_read_metrics()
205 ktime_t r_start, ktime_t r_end, in ceph_update_write_metrics()
212 ktime_t r_start, ktime_t r_end, in ceph_update_metadata_metrics()
219 ktime_t r_start, ktime_t r_end, in ceph_update_copyfrom_metrics()
/linux/kernel/time/
A Dtick-sched.h64 ktime_t last_tick;
65 ktime_t next_tick;
69 ktime_t idle_entrytime;
70 ktime_t idle_waketime;
71 ktime_t idle_exittime;
72 ktime_t idle_sleeptime;
73 ktime_t iowait_sleeptime;
78 ktime_t idle_expires;
A Dalarmtimer.c47 ktime_t (*get_ktime)(void);
56 static ktime_t freezer_delta;
266 ktime_t delta; in alarmtimer_suspend()
441 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward()
444 ktime_t delta; in alarm_forward()
487 ktime_t delta; in alarmtimer_freezerset()
537 ktime_t now) in alarm_handle_timer()
595 static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) in alarm_timer_remaining()
728 ktime_t now) in alarmtimer_nsleep_wakeup()
772 ktime_t rem; in alarmtimer_do_nsleep()
[all …]
A Dtick-sched.c60 ktime_t delta, nextp; in tick_do_update_jiffies64()
159 ktime_t period; in tick_init_jiffy_update()
630 ktime_t delta; in update_ts_time_stats()
678 ktime_t now, idle; in get_cpu_idle_time_us()
964 ktime_t now) in __tick_nohz_full_update_tick()
1043 ktime_t expires; in __tick_nohz_idle_stop_tick()
1173 ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next) in tick_nohz_get_sleep_length()
1232 ktime_t now) in tick_nohz_account_idle_time()
1285 ktime_t now; in tick_nohz_idle_exit()
1346 ktime_t next; in tick_nohz_switch_to_nohz()
[all …]
A Dhrtimer.c195 ktime_t expires; in hrtimer_check_target()
327 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe()
508 ktime_t expires; in __hrtimer_next_event_base()
568 static ktime_t
874 ktime_t expires; in update_needs_ipi()
1040 ktime_t delta; in hrtimer_forward()
1190 ktime_t expires; in hrtimer_update_softirq_timer()
1460 ktime_t rem; in __hrtimer_get_remaining()
1725 ktime_t basenow; in __hrtimer_run_queues()
1760 ktime_t now; in hrtimer_run_softirq()
[all …]
A Dposix-timers.h13 ktime_t (*clock_get_ktime)(const clockid_t which_clock);
25 s64 (*timer_forward)(struct k_itimer *timr, ktime_t now);
26 ktime_t (*timer_remaining)(struct k_itimer *timr, ktime_t now);
28 void (*timer_arm)(struct k_itimer *timr, ktime_t expires,
A Dtimekeeping.h7 extern ktime_t ktime_get_update_offsets_now(unsigned int *cwsseq,
8 ktime_t *offs_real,
9 ktime_t *offs_boot,
10 ktime_t *offs_tai);
A Dtick-internal.h17 extern ktime_t tick_next_period;
56 ktime_t expires, bool force);
102 ktime_t nextevt);
103 extern int tick_program_event(ktime_t expires, int force);
116 ktime_t nextevt) { BUG(); } in tick_setup_oneshot()
118 static inline int tick_program_event(ktime_t expires, int force) { return 0; } in tick_program_event()
/linux/include/drm/
A Ddrm_vblank.h131 ktime_t time;
232 ktime_t *vblanktime);
239 ktime_t *now);
265 ktime_t *stime,
266 ktime_t *etime,
272 ktime_t *vblank_time,
277 ktime_t *vblank_time,
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dclock.h54 typedef ktime_t (*cqe_ts_to_ns)(struct mlx5_clock *, u64);
65 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time()
82 static inline ktime_t mlx5_real_time_cyc2time(struct mlx5_clock *clock, in mlx5_real_time_cyc2time()
97 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time()
103 static inline ktime_t mlx5_real_time_cyc2time(struct mlx5_clock *clock, in mlx5_real_time_cyc2time()
/linux/include/trace/events/
A Dalarmtimer.h25 TP_PROTO(ktime_t expires, int flag),
47 TP_PROTO(struct alarm *alarm, ktime_t now),
75 TP_PROTO(struct alarm *alarm, ktime_t now),
82 TP_PROTO(struct alarm *alarm, ktime_t now),
89 TP_PROTO(struct alarm *alarm, ktime_t now),
/linux/drivers/gpu/drm/i915/gvt/
A Dsched_policy.c58 ktime_t pri_time;
59 ktime_t sched_in_time;
60 ktime_t sched_time;
61 ktime_t left_ts;
62 ktime_t allocated_ts;
72 ktime_t expire_time;
77 ktime_t delta_ts; in vgpu_update_timeslice()
105 ktime_t fair_timeslice; in gvt_balance_timeslice()
138 ktime_t cur_time; in try_to_schedule_next_vgpu()
243 ktime_t cur_time; in intel_gvt_schedule()
[all …]
/linux/net/sched/
A Dsch_taprio.c44 ktime_t close_time;
45 ktime_t next_txtime;
98 static ktime_t taprio_mono_to_any(const struct taprio_sched *q, ktime_t mono) in taprio_mono_to_any()
190 ktime_t time, in find_entry_to_transmit()
580 ktime_t guard; in taprio_dequeue_soft()
712 ktime_t close_time; in advance_sched()
914 ktime_t cycle = 0; in parse_taprio_schedule()
998 ktime_t *start) in taprio_get_start_time()
1034 ktime_t cycle; in setup_first_close_time()
1053 ktime_t expires; in taprio_start_sched()
[all …]
/linux/drivers/base/power/
A Ddomain_governor.c120 static void update_domain_next_wakeup(struct generic_pm_domain *genpd, ktime_t now) in update_domain_next_wakeup()
122 ktime_t domain_wakeup = KTIME_MAX; in update_domain_next_wakeup()
123 ktime_t next_wakeup; in update_domain_next_wakeup()
156 unsigned int state, ktime_t now) in next_wakeup_allows_state()
158 ktime_t domain_wakeup = genpd->next_wakeup; in next_wakeup_allows_state()
259 static bool _default_power_down_ok(struct dev_pm_domain *pd, ktime_t now) in _default_power_down_ok()
340 ktime_t domain_wakeup, next_hrtimer; in cpu_power_down_ok()
341 ktime_t now = ktime_get(); in cpu_power_down_ok()
A Dwakeup_stats.c42 ktime_t active_time = in active_time_ms_show()
53 ktime_t active_time; in total_time_ms_show()
54 ktime_t total_time = ws->total_time; in total_time_ms_show()
69 ktime_t active_time; in max_time_ms_show()
70 ktime_t max_time = ws->max_time; in max_time_ms_show()
105 ktime_t prevent_sleep_time = ws->prevent_sleep_time; in prevent_suspend_time_ms_show()
/linux/lib/
A Dfind_bit_benchmark.c39 ktime_t time; in test_find_first_bit()
55 ktime_t time; in test_find_next_bit()
69 ktime_t time; in test_find_next_zero_bit()
83 ktime_t time; in test_find_last_bit()
103 ktime_t time; in test_find_next_and_bit()
/linux/net/dccp/ccids/
A Dccid3.h94 ktime_t tx_t_last_win_count;
97 ktime_t tx_t_ld;
98 ktime_t tx_t_nom;
134 ktime_t rx_tstamp_last_feedback;
/linux/Documentation/core-api/
A Dtimekeeping.rst9 Basic ktime_t based interfaces
12 The recommended simplest form returns an opaque ktime_t, with variants
16 .. c:function:: ktime_t ktime_get( void )
23 .. c:function:: ktime_t ktime_get_boottime( void )
31 .. c:function:: ktime_t ktime_get_real( void )
43 .. c:function:: ktime_t ktime_get_clocktai( void )
51 .. c:function:: ktime_t ktime_get_raw( void )
102 .. c:function:: ktime_t ktime_get_coarse( void )
103 ktime_t ktime_get_coarse_boottime( void )
104 ktime_t ktime_get_coarse_real( void )
[all …]

Completed in 40 milliseconds

12345678910>>...25