ctimer_write Subroutine

private impure subroutine ctimer_write(this, file_name)

Writes the CPU time to a file.

Type Bound

timer

Arguments

Type IntentOptional Attributes Name
class(timer), intent(in) :: this
character(len=*), intent(in) :: file_name

Calls

proc~~ctimer_write~~CallsGraph proc~ctimer_write timer%ctimer_write proc~write_to_file write_to_file proc~ctimer_write->proc~write_to_file

Called by

proc~~ctimer_write~~CalledByGraph proc~ctimer_write timer%ctimer_write program~example4 example4 program~example4->proc~ctimer_write program~test17 test17 program~test17->proc~ctimer_write program~test18 test18 program~test18->proc~ctimer_write program~test5 test5 program~test5->proc~ctimer_write program~test6 test6 program~test6->proc~ctimer_write

Source Code

   impure subroutine ctimer_write(this, file_name)
      class(timer), intent(in) :: this
      character(*), intent(in) :: file_name
      logical                  :: file_exists
      integer                  :: nunit

      call write_to_file(this%cpu_time, file_name)
   end subroutine ctimer_write