Searched refs:ticks (Results 1 – 5 of 5) sorted by relevance
| /spdk/doc/ |
| H A D | scheduler.md | 74 time. In SPDK thread and core workloads are measured in CPU ticks. Those 75 values are then compared with all the ticks since the last check, which allows 78 `busy time = busy ticks / (busy tick + idle tick) * 100 %` 91 they are capable of, because they share CPU ticks with other threads. The threshold 93 on an overloaded core will not perform as good as other threads, because the CPU ticks
|
| /spdk/module/bdev/delay/ |
| H A D | vbdev_delay.c | 144 _process_io_stailq(void *arg, uint64_t ticks) in _process_io_stailq() argument 151 if (io_ctx->completion_tick <= ticks) { in _process_io_stailq() 174 uint64_t ticks = spdk_get_ticks(); in _delay_finish_io() local 177 completions += _process_io_stailq(&delay_ch->avg_read_io, ticks); in _delay_finish_io() 178 completions += _process_io_stailq(&delay_ch->avg_write_io, ticks); in _delay_finish_io() 179 completions += _process_io_stailq(&delay_ch->p99_read_io, ticks); in _delay_finish_io() 180 completions += _process_io_stailq(&delay_ch->p99_write_io, ticks); in _delay_finish_io() 826 /* Store the number of ticks you need to add to get the I/O expiration time. */ in vbdev_delay_register()
|
| /spdk/lib/thread/ |
| H A D | thread.c | 1510 uint64_t ticks = spdk_get_ticks_hz(); in period_poller_set_interrupt_mode() 1527 new_tv.it_interval.tv_sec = poller->period_ticks / ticks; in poller_interrupt_fini() 1528 new_tv.it_interval.tv_nsec = poller->period_ticks % ticks * SPDK_SEC_TO_NSEC / ticks; in poller_interrupt_fini() 1537 new_tv.it_value.tv_sec = (poller->next_run_tick - now_tick) / ticks; in busy_poller_interrupt_init() 1538 new_tv.it_value.tv_nsec = (poller->next_run_tick - now_tick) % ticks * SPDK_SEC_TO_NSEC / ticks; in busy_poller_interrupt_init() 1555 * now_tick + ticks * old_tv.it_value.tv_sec + (ticks * old_tv.it_value.tv_nsec) / SPDK_SEC_TO_NSEC in busy_poller_set_interrupt_mode() 1557 now_tick = now_tick - poller->period_ticks + ticks * old_t in busy_poller_set_interrupt_mode() 1466 uint64_t ticks = spdk_get_ticks_hz(); period_poller_set_interrupt_mode() local 1634 uint64_t quotient, remainder, ticks; convert_us_to_ticks() local [all...] |
| /spdk/lib/nvme/ |
| H A D | nvme_ctrlr.c | 3961 uint64_t ticks; in nvme_ctrlr_process_init() 3964 ticks = spdk_get_ticks(); in nvme_ctrlr_process_init() 3972 (ticks <= ctrlr->sleep_timeout_tsc)) { in nvme_ctrlr_process_init() 3995 ctrlr->sleep_timeout_tsc = ticks + (2000 * spdk_get_ticks_hz() / 1000); in nvme_ctrlr_process_init() 4250 /* Note: we use the ticks captured when we entered this function. in nvme_ctrlr_construct() 4257 ticks > ctrlr->state_timeout_tsc) { in nvme_ctrlr_construct() 3924 uint64_t ticks; nvme_ctrlr_process_init() local
|
| /spdk/app/spdk_top/ |
| H A D | spdk_top.c | 1302 get_time_str(uint64_t ticks, char *time_str) in get_time_str() argument 1306 time = ticks * SPDK_SEC_TO_USEC / g_tick_rate; in get_time_str()
|