| Function report | 
| Source Code: block\blk-iocost.c | Create Date:2022-07-28 17:47:28 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ake a snapshot of the current [v]time and vrate
Proto:static void ioc_now(struct ioc *ioc, struct ioc_now *now)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct ioc * | ioc | |
| struct ioc_now * | now | 
| 858 | now = ktime_to_us(now_ns) | 
| 859 | vrate = atomic64_read( & vtime_rate) | 
| 869 | Do | 
| 871 | vnow = vtime starttime + (now - wallclock starttime ) * vrate | 
| Name | Describe | 
|---|---|
| iocg_activate | |
| iocg_waitq_timer_fn | |
| iocg_delay_timer_fn | |
| ioc_timer_fn | |
| ioc_rqos_merge | |
| ioc_pd_init | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |