Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | debug | |||
character(len=:), | public, | allocatable | :: | path_cpu | |||
integer, | public | :: | online | ||||
integer, | public | :: | base_frequency | ||||
integer, | public | :: | cpuinfo_max_freq | ||||
integer, | public | :: | cpuinfo_min_freq | ||||
integer, | public | :: | scaling_cur_freq | ||||
integer, | public | :: | scaling_max_freq | ||||
integer, | public | :: | scaling_min_freq | ||||
character(len=:), | public, | allocatable | :: | scaling_governor | |||
character(len=:), | public, | allocatable | :: | energy_performance_preference |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | online |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | base_frequency |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | cpuinfo_max_freq |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | cpuinfo_min_freq |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | scaling_cur_freq |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | scaling_max_freq |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | scaling_min_freq |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
character(len=*), | intent(out), | optional | :: | scaling_governor |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
character(len=*), | intent(out), | optional | :: | energy_performance_preference |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | max_freq |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | min_freq |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | scaling_governor |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | energy_performance_preference |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this |
type :: linux_cpu
character(len=:), allocatable :: debug
character(len=:), allocatable :: path_cpu
integer :: online
integer :: base_frequency
integer :: cpuinfo_max_freq
integer :: cpuinfo_min_freq
integer :: scaling_cur_freq
integer :: scaling_max_freq
integer :: scaling_min_freq
character(len=:), allocatable :: scaling_governor
character(len=:), allocatable :: energy_performance_preference
contains
procedure :: set_debug => set_cpu_debug_switch
procedure :: is_online => is_cpu_online
procedure :: get_base_freq => get_cpu_base_frequency
procedure :: get_cpuinfo_max_freq => get_cpuinfo_max_frequency
procedure :: get_cpuinfo_min_freq => get_cpuinfo_min_frequency
procedure :: get_scaling_cur_freq => get_cpu_scaling_cur_frequency
procedure :: get_scaling_max_freq => get_cpu_scaling_max_frequency
procedure :: get_scaling_min_freq => get_cpu_scaling_min_frequency
procedure :: get_scaling_governor => get_cpu_scaling_governor
procedure :: get_energy_performance => get_cpu_energy_performance_preference
procedure :: set_offline => set_cpu_offline
procedure :: set_online => set_cpu_online
procedure :: set_scaling_max_freq => set_cpu_scaling_max_freq
procedure :: set_scaling_min_freq => set_cpu_scaling_min_freq
procedure :: set_scaling_governor => set_cpu_scaling_governor
procedure :: set_energy_performance => set_cpu_energy_performance_preference
procedure :: deselect => deallocate_linux_cpu
end type linux_cpu