|
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.
|
|
|
integer(i8) | count = 0 |
| Integer value of system clock at last call.
|
|
◆ int_tock()
procedure int_tock |
( |
class(oft_timer), intent(inout) |
self | ) |
|
Get elapsed time since tick/tock in integer counts.
- Parameters
-
[in,out] | self | Calling timer class |
- Returns
- Number of integer counts since last tick/tock
- Parameters
-
[in,out] | self | Calling timer class |
- Returns
- Number of integer counts since last tick/tock
◆ tick()
procedure tick |
( |
class(oft_timer), intent(inout) |
self | ) |
|
Start or reset timer.
- Parameters
-
[in,out] | self | Calling timer class |
◆ timeout()
procedure timeout |
( |
class(oft_timer), intent(inout) |
self, |
|
|
real(r8), intent(in) |
timeout |
|
) |
| |
Check if time since tick/tock exceeds a limit.
- Parameters
-
[in,out] | self | Calling timer class |
[in] | timeout | Length of timeout (seconds) |
◆ tock()
procedure tock |
( |
class(oft_timer), intent(inout) |
self | ) |
|
Set elapsed time since tick/tock.
- Parameters
-
[in,out] | self | Calling timer class |
- Returns
- Time since last tick/tock
◆ count
Integer value of system clock at last call.
The documentation for this type was generated from the following file:
- /home/runner/work/OpenFUSIONToolkit/OpenFUSIONToolkit/src/base/oft_local.F90