deallocate_linux_cpu Subroutine

private pure elemental subroutine deallocate_linux_cpu(this)

Type Bound

linux_cpu

Arguments

Type IntentOptional Attributes Name
class(linux_cpu), intent(inout) :: this

Contents

Source Code


Source Code

   elemental pure subroutine deallocate_linux_cpu(this)
      class(linux_cpu), intent(inout) :: this

      if (allocated(this%debug))                         deallocate(this%debug)
      if (allocated(this%path_cpu))                      deallocate(this%path_cpu)
      if (allocated(this%scaling_governor))              deallocate(this%scaling_governor)
      if (allocated(this%energy_performance_preference)) deallocate(this%energy_performance_preference)
   end subroutine deallocate_linux_cpu