|
The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
|
Simple timer class.
Public Member Functions | |
| procedure | int_tock (self) |
| Get elapsed time since tick/tock in integer counts. | |
| procedure | tick (self) |
| Start or reset timer. | |
| procedure | timeout (self, timeout) |
| Check if time since tick/tock exceeds a limit. | |
| procedure | tock (self) |
| Set elapsed time since tick/tock. | |
Public Attributes | |
| integer(i8) | count = 0 |
| Integer value of system clock at last call. | |
| procedure int_tock | ( | class(oft_timer), intent(inout) | self | ) |
Get elapsed time since tick/tock in integer counts.
| [in,out] | self | Calling timer class |
| [in,out] | self | Calling timer class |
| procedure tick | ( | class(oft_timer), intent(inout) | self | ) |
Start or reset timer.
| [in,out] | self | Calling timer class |
Check if time since tick/tock exceeds a limit.
| [in,out] | self | Calling timer class |
| [in] | timeout | Length of timeout (seconds) |
| procedure tock | ( | class(oft_timer), intent(inout) | self | ) |
Set elapsed time since tick/tock.
| [in,out] | self | Calling timer class |
| integer(i8) count = 0 |
Integer value of system clock at last call.