Home
last modified time | relevance | path

Searched refs:last_stat (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/spi/
Dspidev_test.c483 struct timespec last_stat; in main() local
485 clock_gettime(CLOCK_MONOTONIC, &last_stat); in main()
493 if (current.tv_sec - last_stat.tv_sec > interval) { in main()
495 last_stat = current; in main()
/linux-6.1.9/block/
Dblk-iocost.c537 struct iocg_stat last_stat; member
1647 iocg->stat.usage_us - iocg->last_stat.usage_us; in iocg_flush_stat_upward()
1649 iocg->stat.wait_us - iocg->last_stat.wait_us; in iocg_flush_stat_upward()
1651 iocg->stat.indebt_us - iocg->last_stat.indebt_us; in iocg_flush_stat_upward()
1653 iocg->stat.indelay_us - iocg->last_stat.indelay_us; in iocg_flush_stat_upward()
1656 iocg->last_stat = iocg->stat; in iocg_flush_stat_upward()
3019 seq_printf(s, " cost.usage=%llu", iocg->last_stat.usage_us); in ioc_pd_stat()
3023 iocg->last_stat.wait_us, in ioc_pd_stat()
3024 iocg->last_stat.indebt_us, in ioc_pd_stat()
3025 iocg->last_stat.indelay_us); in ioc_pd_stat()