Function report |
Source Code:include\linux\percpu_counter.h |
Create Date:2022-07-28 05:42:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:percpu_counter_add
Proto:static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct percpu_counter * | fbc | |
| s64 | amount |
| 137 | preempt_enable() |
| Name | Describe |
|---|---|
| fprop_new_period | 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 |
| __fprop_inc_single | Event of type pl happened |
| __fprop_inc_percpu | Event of type pl happened |
| __fprop_inc_percpu_max | Like __fprop_inc_percpu() except that event is counted only if the given* type has fraction smaller than @max_frac/FPROP_FRAC_BASE |
| 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 |