Writes the CPU time to a file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timer), | intent(in) | :: | this | |||
| character(len=*), | intent(in) | :: | file_name |
impure subroutine ctimer_write(this, file_name) class(timer), intent(in) :: this character(*), intent(in) :: file_name call write_to_file(this%cpu_time, file_name) end subroutine ctimer_write