Home
last modified time | relevance | path

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

/linux-5.19.10/tools/spi/
Dspidev_test.c472 struct timespec last_stat; in main() local
474 clock_gettime(CLOCK_MONOTONIC, &last_stat); in main()
482 if (current.tv_sec - last_stat.tv_sec > interval) { in main()
484 last_stat = current; in main()
/linux-5.19.10/block/
Dblk-iocost.c537 struct iocg_stat last_stat; member
1651 iocg->stat.usage_us - iocg->last_stat.usage_us; in iocg_flush_stat_upward()
1653 iocg->stat.wait_us - iocg->last_stat.wait_us; in iocg_flush_stat_upward()
1655 iocg->stat.indebt_us - iocg->last_stat.indebt_us; in iocg_flush_stat_upward()
1657 iocg->stat.indelay_us - iocg->last_stat.indelay_us; in iocg_flush_stat_upward()
1660 iocg->last_stat = iocg->stat; in iocg_flush_stat_upward()
3022 seq_printf(s, " cost.usage=%llu", iocg->last_stat.usage_us); in ioc_pd_stat()
3026 iocg->last_stat.wait_us, in ioc_pd_stat()
3027 iocg->last_stat.indebt_us, in ioc_pd_stat()
3028 iocg->last_stat.indelay_us); in ioc_pd_stat()