Definition at line 143 of file dc_clock.f90.
◆ dcclockstop0()
subroutine dc_clock::dcclockstop::dcclockstop0 |
( |
type(clock), intent(inout) |
clk, |
|
|
logical, intent(out), optional |
err |
|
) |
| |
|
private |
Definition at line 300 of file dc_clock.f90.
316 type(clock),
intent(inout):: clk
317 logical,
intent(out),
optional:: err
318 character(STRING):: cause_c
321 character(*),
parameter:: subname =
'DCClockStop' 323 call beginsub(subname)
326 if (.not. clk % initialized)
then 327 call messagenotify(
'W', subname,
'Call Create before Stop in dc_clock.')
328 call dbgmessage(
'Ignored because input argument was not initialized.')
331 elseif (clk % start_time < 0.0_dp)
then 332 call messagenotify(
'W', subname,
'Call Start before Stop in dc_clock.')
333 call dbgmessage(
'Ignored because input argument was not started.')
336 call cpu_time(stop_time)
337 clk % elapsed_time = clk % elapsed_time + stop_time - clk % start_time
338 clk % start_time = - 1.0
339 call dbgmessage(
'name=%c, cpu_time=%r, elapsed_time=%f', &
340 & c1=trim(clk % name), r=(/stop_time/), d=(/clk % elapsed_time/))
integer, parameter, public dc_enotinit
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_noerr
integer, parameter, public dp
倍精度実数型変数
The documentation for this interface was generated from the following file: