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