|
TVM
0.9.4
|
#include <tvm/Clock.h>


Public Member Functions | |
| Clock (double dt) | |
| uint64_t | ticks () const |
| double | dt () const |
| void | advance () |
Public Member Functions inherited from tvm::graph::abstract::Outputs | |
| virtual | ~Outputs ()=default |
| template<typename EnumT > | |
| bool | isOutputEnabled (EnumT e) const |
| bool | isOutputEnabled (int i) const |
| virtual bool | isOutputStaticallyEnabled (int) const |
| virtual bool | isOutputCustomEnabled (int) const |
Protected Member Functions | |
| Clock (const Clock &)=default | |
| Clock & | operator= (const Clock &)=default |
| Clock (Clock &&)=default | |
| Clock & | operator= (Clock &&)=default |
Friends | |
| class | ControlProblem |
Additional Inherited Members | |
Public Types inherited from tvm::graph::abstract::Outputs | |
| enum class | Output_ |
| using | OutputParent = Outputs |
| using | OutputBase = Outputs |
Static Public Member Functions inherited from tvm::graph::abstract::Outputs | |
| static constexpr const char * | OutputName (Output_) |
| template<typename EnumT > | |
| static constexpr bool | OutputStaticallyEnabled (EnumT) |
Static Public Attributes inherited from tvm::graph::abstract::Outputs | |
| static constexpr unsigned int | OutputSize = 0 |
| static constexpr auto | OutputBaseName = "Outputs" |
Protected Attributes inherited from tvm::graph::abstract::Outputs | |
| bool | is_node_ = false |
Represent a clock for the ControlProblem
The current iteration of the problem can be accessed by time-dependent data to trigger computations
Outputs:
| tvm::Clock::Clock | ( | double | dt | ) |
Constructor
| dt | Timestep of the ControlProblem |
|
protecteddefault |
|
protecteddefault |
| void tvm::Clock::advance | ( | ) |
Advance the clock by one tick
|
inline |
Returns the timestep of the problem
|
inline |
Returns the number of ticks elapsed since the start of the problem
|
friend |