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 | ||
| ) |
CPU 時間 (単位: 秒) の取得 (倍精度)
CPU 時間 (単位: 秒) を sec に取得します。
clk に対して DCClockCreate による初期化が行われていない場合、 エラーを発生させます。err を与える場合には err に .true. が返り、 プログラムは続行されます。
| [in] | clk | CLOCK 型変数 |
| [out] | sec | CPU 時間 (秒、倍精度) |
| [out] | err | エラーフラグ (省略可)。エラー時に .true.。 |
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 | ||
| ) |
CPU 時間 (単位: 秒) の取得 (単精度)
CPU 時間 (単位: 秒) を sec に取得します。
clk に対して DCClockCreate による初期化が行われていない場合、 エラーを発生させます。err を与える場合には err に .true. が返り、 プログラムは続行されます。
| [in] | clk | CLOCK 型変数 |
| [out] | sec | CPU 時間 (秒、単精度) |
| [out] | err | エラーフラグ (省略可)。エラー時に .true.。 |
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().