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