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:fprop_reflect_period_single
Proto:static void fprop_reflect_period_single(struct fprop_global *p, struct fprop_local_single *pl)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fprop_global * | p | |
| struct fprop_local_single * | pl |
| 109 | period = Current period |
| 113 | If Period in which we last updated events == period Then Return |
| 117 | If Period in which we last updated events >= period Then |
| 119 | Return |
| 122 | If period - Period in which we last updated events < BITS_PER_LONG Then he local events counter >>= period - Period in which we last updated events |
| 124 | Else he local events counter = 0 |
| Name | Describe |
|---|---|
| __fprop_inc_single | Event of type pl happened |
| fprop_fraction_single | Return fraction of events of type pl |
| 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 |