Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/package/lite/
H A D0001-dfbspy-stat.patch20 -#define CALC(x) stat.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
21 +#define CALC(x) stats.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
23 -static FusionStat last_stat, stat;
24 +static FusionStat last_stat, stats;
/OK3568_Linux_fs/kernel/tools/spi/
H A 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()
/OK3568_Linux_fs/kernel/block/
H A Dblk-iocost.c540 struct iocg_stat last_stat; member
1636 new_stat.usage_us - iocg->last_stat.usage_us; in iocg_flush_stat_one()
1638 new_stat.wait_us - iocg->last_stat.wait_us; in iocg_flush_stat_one()
1640 new_stat.indebt_us - iocg->last_stat.indebt_us; in iocg_flush_stat_one()
1642 new_stat.indelay_us - iocg->last_stat.indelay_us; in iocg_flush_stat_one()
1645 iocg->last_stat = new_stat; in iocg_flush_stat_one()
3004 iocg->last_stat.usage_us); in ioc_pd_stat()
3009 iocg->last_stat.wait_us, in ioc_pd_stat()
3010 iocg->last_stat.indebt_us, in ioc_pd_stat()
3011 iocg->last_stat.indelay_us); in ioc_pd_stat()