Public Member Functions | |
| subroutine | dcclockgetr (clk, sec, err) |
| subroutine | dcclockgetd (clk, sec, err) |
Definition at line 142 of file dc_clock.f90.
| subroutine dc_clock::dcclockget::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 475 of file dc_clock.f90.
References dc_trace::beginsub(), dc_trace::dbgmessage(), dc_error::dc_enotinit, dc_error::dc_noerr, dc_types::dp, dc_trace::endsub(), and dc_error::storeerror().
| subroutine dc_clock::dcclockget::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 420 of file dc_clock.f90.
References dc_trace::beginsub(), dc_trace::dbgmessage(), dc_error::dc_enotinit, dc_error::dc_noerr, dc_trace::endsub(), and dc_error::storeerror().