|
Globals Library 1.0
|
Defines vars and procs for cpu timing of code sections. More...
Data Types | |
| type | tim |
Functions/Subroutines | |
| subroutine | tim_construct (this) |
| Static constructor (procedure public for type timing::tim). | |
| subroutine | tim_destroy (this) |
| Static destructor (procedure public for type timing::tim). | |
| subroutine | tim_print (this, lun, add_msg, add_msg1, add_msg2) |
| Info procedure (public procedure for type timing::tim). | |
| subroutine | tim_set (this, code) |
| Set procedure (public procedure for type timing::tim). Sets the values of var of type timing::tim. | |
Defines vars and procs for cpu timing of code sections.
| subroutine timing::tim_construct | ( | class(tim), intent(out) | this | ) |
Static constructor (procedure public for type timing::tim).
Instantiate (allocate if necessary) and initilize (by also reading from input file) variable of type timing::tim.
| [out] | this | Object of type timing::tim calling the constructor |
Definition at line 43 of file modTiming.f90.
|
private |
Static destructor (procedure public for type timing::tim).
Definition at line 56 of file modTiming.f90.
|
private |
Info procedure (public procedure for type timing::tim).
Prints content of a variable of type timing::tim.
| [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. |
Definition at line 76 of file modTiming.f90.
|
private |
Set procedure (public procedure for type timing::tim). Sets the values of var of type timing::tim.
| [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:
|
Definition at line 118 of file modTiming.f90.