gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
Loading...
Searching...
No Matches
dc_clock::dcclockevalsec Interface Reference

Public Member Functions

real(dp) function dcclockevalsecd (clk)

Detailed Description

Definition at line 142 of file dc_clock.f90.

Member Function/Subroutine Documentation

◆ dcclockevalsecd()

real(dp) function dc_clock::dcclockevalsec::dcclockevalsecd ( type(clock), intent(in) clk)

Get CPU time (in seconds) as function

Returns CPU time (in seconds). If clk has not been initialized by DCClockCreate, -1.0 is returned.

Parameters
[in]clkCLOCK type variable
Returns
CPU time in seconds (double precision). -1.0 if not initialized.

Definition at line 521 of file dc_clock.f90.

522 use dc_types, only: dp
523 implicit none
524 type(CLOCK), intent(in):: clk
525 real(DP):: result
526 logical:: err
527 continue
528 call dcclockgetd(clk, result, err)
529 if (err) result = -1.0_dp
Provides kind type parameter values.
Definition dc_types.f90:55
integer, parameter, public dp
Double Precision Real number
Definition dc_types.f90:92

References dc_types::dp.


The documentation for this interface was generated from the following file: