Public Member Functions | |
| subroutine | dcclockgetr (clk, sec, err) |
| subroutine | dcclockgetd (clk, sec, err) |
Definition at line 181 of file dc_clock.f90.
| subroutine dc_clock::get::dcclockgetd | ( | type(clock), intent(in) | clk, |
| real(dp), intent(out) | sec, | ||
| logical, intent(out), optional | err ) |
Get CPU time (in seconds) - double precision
Gets CPU time (in seconds) to sec.
If clk has not been initialized by DCClockCreate, an error is raised. If err is provided, .true. is returned in err and the program continues.
| [in] | clk | CLOCK type variable |
| [out] | sec | CPU time in seconds (double precision) |
| [out] | err | Error flag (optional). .true. if error occurred. |
Definition at line 471 of file dc_clock.f90.
| subroutine dc_clock::get::dcclockgetr | ( | type(clock), intent(in) | clk, |
| real, intent(out) | sec, | ||
| logical, intent(out), optional | err ) |
Get CPU time (in seconds) - single precision
Gets CPU time (in seconds) to sec.
If clk has not been initialized by DCClockCreate, an error is raised. If err is provided, .true. is returned in err and the program continues.
| [in] | clk | CLOCK type variable |
| [out] | sec | CPU time in seconds (single precision) |
| [out] | err | Error flag (optional). .true. if error occurred. |
Definition at line 416 of file dc_clock.f90.