diff options
| author | Huang Rui <[email protected]> | 2022-02-22 15:34:24 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2022-02-23 01:37:07 +0000 |
| commit | 35fdf42d90d09d2d00ef65999fe338027a6b4d8e (patch) | |
| tree | 26f6b498c123881d0674f7c52a71008da621c939 /tools/power/cpupower/utils/helpers/helpers.h | |
| parent | cpupower: Enable boost state support for AMD P-State module (diff) | |
| download | kernel-35fdf42d90d09d2d00ef65999fe338027a6b4d8e.tar.gz kernel-35fdf42d90d09d2d00ef65999fe338027a6b4d8e.zip | |
cpupower: Move print_speed function into misc helper
The print_speed can be as a common function, and expose it into misc
helper header. Then it can be used on other helper files as well.
Reviewed-by: Shuah Khan <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/power/cpupower/utils/helpers/helpers.h')
| -rw-r--r-- | tools/power/cpupower/utils/helpers/helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/cpupower/utils/helpers/helpers.h b/tools/power/cpupower/utils/helpers/helpers.h index 326491e11c6e..fa2a8c1b1d26 100644 --- a/tools/power/cpupower/utils/helpers/helpers.h +++ b/tools/power/cpupower/utils/helpers/helpers.h @@ -200,5 +200,6 @@ extern struct bitmask *offline_cpus; void get_cpustate(void); void print_online_cpus(void); void print_offline_cpus(void); +void print_speed(unsigned long speed, int no_rounding); #endif /* __CPUPOWERUTILS_HELPERS__ */ |
