|
procedure, pass, public | init (this) |
| Static constructor (public for type tim )
|
|
procedure, pass, public | kill (this) |
| Static destructor (public for type tim )
|
|
procedure, pass, public | info (this, lun, add_msg, add_msg1, add_msg2) |
| Outputs the content of the variable (public for type tim )
|
|
procedure, pass, public | set (this, code) |
| Sets the current tim vars (public for type tim )
|
|
|
real(kind=double) | wct = zero |
| Actual value of wall-clock-time.
|
|
real(kind=double) | usr = zero |
| Actual value of user (cpu) time (summed across threads)
|
|
real(kind=double) | cumwct = zero |
| Cumulated value of wall-clock-time.
|
|
real(kind=double) | cumusr = zero |
| Cumulated value of user (cpu) time (summed across threads)
|
|
character(len=15) | status |
| Status variable: both command and stutus can be: start , stop , stac , accumulate and reset . Can be abbreviated using the first 3 characters of the word.
|
|
◆ init()
procedure, pass, public timing::tim::init |
( |
class(tim), intent(out) | this | ) |
|
Static constructor (public for type tim
)
Instantiate (allocate if necessary) and initilize (by also reading from input file) variable of type tim
.
- Parameters
-
[out] | this | Object of type tim calling the constructor |
◆ kill()
procedure, pass, public timing::tim::kill |
( |
class(tim), intent(inout) | this | ) |
|
Static destructor (public for type tim
)
◆ info()
procedure, pass, public timing::tim::info |
( |
class(tim), intent(in) | this, |
|
|
integer, intent(in) | lun, |
|
|
character(len=*), intent(in), optional | add_msg, |
|
|
character(len=*), intent(in), optional | add_msg1, |
|
|
character(len=*), intent(in), optional | add_msg2 ) |
Outputs the content of the variable (public for type tim
)
Prints content of a variable of type tim
.
- Parameters
-
[in] | lun | integer. output unit |
[in] | add_msg | character, optional. additional message to be printed. |
[in] | add_msg1 | character, optional. additional message to be printed. |
[in] | add_msg2 | character, optional. additional message to be printed. |
◆ set()
procedure, pass, public timing::tim::set |
( |
class(tim), intent(inout) | this, |
|
|
character(len=*), intent(in), optional | code ) |
Sets the current tim
vars (public for type tim
)
- Parameters
-
[in] | code | character, optional. Commands to start/stop/reset/accumulate stopwatch. If the variable is not given, the value of status will be used. Admissible values for code are two up to now are:
start : starts stopwatch.
stop : stops stopwatch and accumulates measured timing.
|
◆ wct
Actual value of wall-clock-time.
◆ usr
Actual value of user (cpu) time (summed across threads)
◆ cumwct
Cumulated value of wall-clock-time.
◆ cumusr
Cumulated value of user (cpu) time (summed across threads)
◆ status
character(len=15) timing::tim::status |
Status variable: both command and stutus can be: start
, stop
, stac
, accumulate
and reset
. Can be abbreviated using the first 3 characters of the word.
The documentation for this type was generated from the following file: