gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
dc_clock::dcclockevalsec Interface Reference

Public Member Functions

real(dp) function dcclockevalsecd (clk)

Detailed Description

Definition at line 146 of file dc_clock.f90.

Member Function/Subroutine Documentation

◆ dcclockevalsecd()

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

CPU 時間 (単位: 秒) の取得 (関数)

CPU 時間 (単位: 秒) を返します。 clk に対して DCClockCreate による初期化が行われていない場合、 -1.0 が返ります。

Parameters
[in]clkCLOCK 型変数
Returns
CPU 時間 (秒、倍精度)。初期化されていない場合は -1.0。

Definition at line 525 of file dc_clock.f90.

526 use dc_types, only: dp
527 implicit none
528 type(CLOCK), intent(in):: clk
529 real(DP):: result
530 logical:: err
531 continue
532 call dcclockgetd(clk, result, err)
533 if (err) result = -1.0_dp
種別型パラメタを提供します。
Definition dc_types.f90:55
integer, parameter, public dp
倍精度実数型変数
Definition dc_types.f90:92

References dc_types::dp.


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