Function report |
Source Code:kernel\time\timer.c |
Create Date:2022-07-28 10:39:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_timer_cpu_base
Proto:static inline struct timer_base *get_timer_cpu_base(unsigned int tflags, unsigned int cpu)
Type:struct timer_base
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | tflags | |
| unsigned int | cpu |
| 838 | base = per_cpu_ptr( & timer_bases[BASE_STD], cpu) |
| 844 | If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_NO_HZ_COMMON) && tflags & TIMER_DEFERRABLE Then base = per_cpu_ptr( & timer_bases[BASE_DEF], cpu) |
| 846 | Return base |
| Name | Describe |
|---|---|
| get_timer_base | |
| add_timer_on | add_timer_on - start a timer on a particular CPU*@timer: the timer to be added*@cpu: the CPU to start it on* This is not very scalable on SMP. Double adds are not possible. |
| 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 |