/kernel/linux/linux-5.10/lib/ |
D | find_bit_benchmark.c | 41 time = ktime_get(); in test_find_first_bit() 46 time = ktime_get() - time; in test_find_first_bit() 57 time = ktime_get(); in test_find_next_bit() 60 time = ktime_get() - time; in test_find_next_bit() 71 time = ktime_get(); in test_find_next_zero_bit() 74 time = ktime_get() - time; in test_find_next_zero_bit() 85 time = ktime_get(); in test_find_last_bit() 93 time = ktime_get() - time; in test_find_last_bit() 105 time = ktime_get(); in test_find_next_and_bit() 108 time = ktime_get() - time; in test_find_next_and_bit()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
D | subdev.c | 117 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini() 130 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini() 141 time = ktime_to_us(ktime_get()); in nvkm_subdev_preinit() 151 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit() 163 time = ktime_to_us(ktime_get()); in nvkm_subdev_init() 168 time = ktime_to_us(ktime_get()); in nvkm_subdev_init() 176 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init() 188 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_init() 201 time = ktime_to_us(ktime_get()); in nvkm_subdev_del() 204 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_del()
|
D | object.c | 187 time = ktime_to_us(ktime_get()); in nvkm_object_fini() 204 time = ktime_to_us(ktime_get()) - time; in nvkm_object_fini() 229 time = ktime_to_us(ktime_get()); in nvkm_object_init() 243 time = ktime_to_us(ktime_get()) - time; in nvkm_object_init() 265 time = ktime_to_us(ktime_get()); in nvkm_object_dtor() 275 time = ktime_to_us(ktime_get()) - time; in nvkm_object_dtor()
|
/kernel/linux/linux-5.10/drivers/base/test/ |
D | test_async_driver_probe.c | 129 calltime = ktime_get(); in test_async_probe_init() 136 delta = ktime_sub(ktime_get(), calltime); in test_async_probe_init() 146 calltime = ktime_get(); in test_async_probe_init() 164 delta = ktime_sub(ktime_get(), calltime); in test_async_probe_init() 193 calltime = ktime_get(); in test_async_probe_init() 200 delta = ktime_sub(ktime_get(), calltime); in test_async_probe_init() 212 calltime = ktime_get(); in test_async_probe_init() 226 delta = ktime_sub(ktime_get(), calltime); in test_async_probe_init()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | gpio-ir-tx.c | 60 delta = ktime_us_delta(until, ktime_get()); in delay_until() 78 edge = ktime_get(); in gpio_ir_tx_unmodulated() 110 edge = ktime_get(); in gpio_ir_tx_modulated() 121 while (ktime_before(ktime_get(), last)) { in gpio_ir_tx_modulated() 125 ktime_get())); in gpio_ir_tx_modulated() 131 ktime_get())); in gpio_ir_tx_modulated()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 61 s->time = ktime_get(); in aperfmperf_snapshot_khz() 92 aperfmperf_snapshot_cpu(cpu, ktime_get(), true); in aperfmperf_get_khz() 98 ktime_t now = ktime_get(); in arch_freq_prepare_all() 130 if (aperfmperf_snapshot_cpu(cpu, ktime_get(), true)) in arch_freq_get_on_cpu()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | spinlock_test.c | 21 start = ktime_get(); in ss_get() 31 finish = ktime_get(); in ss_get() 70 pt->start = ktime_get(); in multi_other() 110 finish = ktime_get(); in multi_get()
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | fwio.c | 158 start = ktime_get(); in wait_ncp_status() 163 now = ktime_get(); in wait_ncp_status() 189 start = ktime_get(); in upload_firmware() 191 now = ktime_get(); in upload_firmware() 282 start = ktime_get(); in load_firmware_secure() 288 ktime_us_delta(ktime_get(), start)); in load_firmware_secure() 380 start = ktime_get(); in wfx_init_device() 383 now = ktime_get(); in wfx_init_device()
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
D | zl6100.c | 122 s64 delta = ktime_us_delta(ktime_get(), data->access); in zl6100_wait() 172 data->access = ktime_get(); in zl6100_read_word_data() 221 data->access = ktime_get(); in zl6100_read_byte_data() 263 data->access = ktime_get(); in zl6100_write_word_data() 279 data->access = ktime_get(); in zl6100_write_byte() 358 data->access = ktime_get(); in zl6100_probe() 383 data->access = ktime_get(); in zl6100_probe()
|
/kernel/linux/linux-5.10/drivers/w1/masters/ |
D | mxc_w1.c | 48 timeout = ktime_add_us(ktime_get(), 1500); in mxc_w1_ds2_reset_bus() 58 } while (ktime_before(ktime_get(), timeout)); in mxc_w1_ds2_reset_bus() 76 timeout = ktime_add_us(ktime_get(), 200); in mxc_w1_ds2_touch_bit() 86 } while (ktime_before(ktime_get(), timeout)); in mxc_w1_ds2_touch_bit()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_timeline.c | 273 kt = ktime_get(); in bench_sync() 283 kt = ktime_sub(ktime_get(), kt); in bench_sync() 291 kt = ktime_get(); in bench_sync() 299 kt = ktime_sub(ktime_get(), kt); in bench_sync() 307 kt = ktime_get(); in bench_sync() 317 kt = ktime_sub(ktime_get(), kt); in bench_sync() 329 kt = ktime_get(); in bench_sync() 334 kt = ktime_sub(ktime_get(), kt); in bench_sync() 340 kt = ktime_get(); in bench_sync() 348 kt = ktime_sub(ktime_get(), kt); in bench_sync() [all …]
|
D | selftest_rc6.c | 61 dt = ktime_get(); in live_rc6_manual() 65 dt = ktime_sub(ktime_get(), dt); in live_rc6_manual() 86 dt = ktime_get(); in live_rc6_manual() 90 dt = ktime_sub(ktime_get(), dt); in live_rc6_manual()
|
D | selftest_rps.c | 296 dt_[i] = ktime_get(); in live_rps_clock_interval() 301 dt_[i] = ktime_sub(ktime_get(), dt_[i]); in live_rps_clock_interval() 453 max_dt = ktime_get(); in live_rps_control() 455 max_dt = ktime_sub(ktime_get(), max_dt); in live_rps_control() 457 min_dt = ktime_get(); in live_rps_control() 459 min_dt = ktime_sub(ktime_get(), min_dt); in live_rps_control() 535 dt = ktime_get(); in __measure_frequency() 539 dt = ktime_get() - dt; in __measure_frequency() 564 dt = ktime_get(); in __measure_cs_frequency() 568 dt = ktime_get() - dt; in __measure_cs_frequency() [all …]
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | clock.c | 48 iclock_timestamp = ktime_get(); in mISDN_init_clock() 156 iclock_timestamp = ktime_get(); in mISDN_clock_update() 163 timestamp_now = ktime_get(); in mISDN_clock_update() 189 timestamp_now = ktime_get(); in mISDN_clock_get()
|
/kernel/linux/linux-5.10/drivers/platform/x86/intel_speed_select_if/ |
D | isst_if_mbox_pci.c | 48 tm = ktime_get(); in isst_if_mbox_cmd() 57 tm_delta = ktime_us_delta(ktime_get(), tm); in isst_if_mbox_cmd() 87 tm = ktime_get(); in isst_if_mbox_cmd() 96 tm_delta = ktime_us_delta(ktime_get(), tm); in isst_if_mbox_cmd()
|
/kernel/linux/linux-5.10/mm/ |
D | gup_benchmark.c | 93 start_time = ktime_get(); in __gup_benchmark_ioctl() 138 end_time = ktime_get(); in __gup_benchmark_ioctl() 152 start_time = ktime_get(); in __gup_benchmark_ioctl() 156 end_time = ktime_get(); in __gup_benchmark_ioctl()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ltc2485.c | 31 time_elapsed = ktime_ms_delta(ktime_get(), data->time_prev); in ltc2485_wait_conv() 50 data->time_prev = ktime_get(); in ltc2485_read() 121 data->time_prev = ktime_get(); in ltc2485_probe()
|
/kernel/linux/linux-5.10/drivers/base/power/ |
D | wakeup_stats.c | 43 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show() 57 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show() 73 active_time = ktime_sub(ktime_get(), ws->last_time); in max_time_ms_show() 109 ktime_sub(ktime_get(), ws->start_prevent_time)); in prevent_suspend_time_ms_show()
|
/kernel/linux/linux-5.10/kernel/ |
D | async.c | 121 calltime = ktime_get(); in async_run_entry_fn() 125 rettime = ktime_get(); in async_run_entry_fn() 291 starttime = ktime_get(); in async_synchronize_cookie_domain() 297 endtime = ktime_get(); in async_synchronize_cookie_domain()
|
/kernel/linux/linux-5.10/include/linux/ |
D | iopoll.h | 41 ktime_t __timeout = ktime_add_us(ktime_get(), __timeout_us); \ 50 ktime_compare(ktime_get(), __timeout) > 0) { \ 84 ktime_t __timeout = ktime_add_us(ktime_get(), __timeout_us); \ 92 ktime_compare(ktime_get(), __timeout) > 0) { \
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_integ.c | 30 start = ktime_get(); in cxd2880_integ_init() 42 if (ktime_to_ms(ktime_sub(ktime_get(), start)) > in cxd2880_integ_init()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | timekeeping.rst | 4 Device drivers can read the current time using ktime_get() and the many 16 .. c:function:: ktime_t ktime_get( void ) 27 Like ktime_get(), but does not stop when suspended. This can be 55 Like ktime_get(), but runs at the same rate as the hardware 71 Same as the plain ktime_get functions, but returning a u64 number 155 Use ktime_get() or ktime_get_ts64() instead. 164 (ktime_get()/ktime_get_real()). 189 ktime_get()/ktime_get_ts64() instead for consistency.
|
/kernel/linux/linux-5.10/kernel/time/ |
D | tick-sched.c | 571 ts->idle_entrytime = ktime_get(); in tick_nohz_start_idle() 598 now = ktime_get(); in get_cpu_idle_time_us() 639 now = ktime_get(); in get_cpu_iowait_time_us() 894 tick_nohz_restart_sched_tick(ts, ktime_get()); in tick_nohz_full_update_tick() 1170 __tick_nohz_idle_restart_tick(ts, ktime_get()); in tick_nohz_idle_restart_tick() 1196 now = ktime_get(); in tick_nohz_idle_exit() 1214 ktime_t now = ktime_get(); in tick_nohz_handler() 1274 now = ktime_get(); in tick_nohz_irq_enter() 1311 ktime_t now = ktime_get(); in tick_sched_timer() 1349 ktime_t now = ktime_get(); in tick_setup_sched_timer()
|
/kernel/linux/linux-5.10/samples/kprobes/ |
D | kretprobe_example.c | 48 data->entry_stamp = ktime_get(); in entry_handler() 65 now = ktime_get(); in ret_handler()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_device.h | 127 ktime_t timeout = ktime_add_us(ktime_get(), timeout_us); in lima_poll_timeout() 134 if (timeout_us && ktime_compare(ktime_get(), timeout) > 0) in lima_poll_timeout()
|