Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_cpu), | intent(inout) | :: | this | |||
character(len=*), | intent(out), | optional | :: | scaling_governor |
elemental impure subroutine get_cpu_scaling_governor(this, scaling_governor)
class(linux_cpu), intent(inout) :: this
character(len=*), intent(out), optional :: scaling_governor
if (present(scaling_governor)) scaling_governor = this%scaling_governor
if (this%debug=='on') print'(a,a)', 'scaling governor: ' ,this%scaling_governor
end subroutine get_cpu_scaling_governor