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