Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | scaling_max_freq |
elemental impure subroutine get_cpu_scaling_max_frequency(this, scaling_max_freq)
class(linux_cpu), intent(inout) :: this
integer, intent(out), optional :: scaling_max_freq
if (present(scaling_max_freq)) scaling_max_freq = this%scaling_max_freq
if (this%debug=='on') print'(a,i0)', 'scaling max frequency: ',this%scaling_max_freq
end subroutine get_cpu_scaling_max_frequency