Commit 9a46649
committed
drivers: kprofiles: Mark
Inlining functions can speed up its calls and reduce overhead as the procedure of how kprofiles work is like this:
CIB/devfreq_boost -> active_mode() -> enabled
If we inline active_mode() and it can perform faster.
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>active_mode() as inline1 parent 46f7ee1 commit 9a46649
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
0 commit comments