Function report |
Source Code:kernel\sched\cpufreq_schedutil.c |
Create Date:2022-07-28 09:45:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sugov_tunables_alloc
Proto:static struct sugov_tunables *sugov_tunables_alloc(struct sugov_policy *sg_policy)
Type:struct sugov_tunables
Parameter:
Type | Parameter | Name |
---|---|---|
struct sugov_policy * | sg_policy |
720 | tunables = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
721 | If tunables Then |
722 | gov_attr_set_init( & attr_set, & tunables_hook) |
723 | If Not have_governor_per_policy() Then sysfs interface *********************** = tunables |
726 | Return tunables |
Name | Describe |
---|---|
sugov_init |
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 |