Function report |
Source Code:lib\dim\net_dim.c |
Create Date:2022-07-28 07:19:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:net_dim
Proto:void net_dim(struct dim *dim, struct dim_sample end_sample)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dim * | dim | |
| struct dim_sample | end_sample |
| 224 | Case state == DIM_MEASURE_IN_PROGRESS |
| 225 | nevents = Calculate the gap between two values.* Take wrap-around and variable size into consideration.(BITS_PER_TYPE(u16), event_ctr, event_ctr) |
| 228 | If nevents < Number of events between DIM iterations.* Causes a moderation of the algorithm run. Then Break |
| 230 | dim_calc_stats( & start_sample, & end_sample, & curr_stats) |
| 231 | If net_dim_decision( & curr_stats, dim) Then |
| 237 | Case state == DIM_START_MEASURE |
| 240 | state = DIM_MEASURE_IN_PROGRESS |
| 241 | Break |
| 242 | Case state == DIM_APPLY_NEW_PROFILE |
| 243 | Break |
| 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 |