Function report |
Source Code:lib\flex_proportions.c |
Create Date:2022-07-28 06:14:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Declare @periods new periods. It is upto the caller to make sure period* transitions cannot happen in parallel.* The function returns true if the proportions are still defined and false* if aging zeroed out all events
Proto:bool fprop_new_period(struct fprop_global *p, int periods)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fprop_global * | p | |
| int | periods |
| 69 | local_irq_save(flags) |
| 74 | If events <= 1 Then |
| 76 | Return false |
| 83 | Current period += periods |
| 87 | Return true |
| 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 |