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