![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <parameters.h>
Public Types | |
| enum class | Type : std::int8_t { none , iteration , end } |
Public Member Functions | |
| void | parse_parameters (ParameterHandler &prm) |
Static Public Member Functions | |
| static void | declare_parameters (ParameterHandler &prm) |
Public Attributes | |
| Type | type = Type::none |
| bool | write_time_in_error_table = false |
Timer - Defines the parameters that control the timing of the simulation. Lethe supports advanced timing features which supports the monitoring of specific subsections of the software to evaluate the relative workload.
Definition at line 1043 of file parameters.h.
|
strong |
| Enumerator | |
|---|---|
| none | |
| iteration | |
| end | |
Definition at line 1047 of file parameters.h.
|
static |
Declare the parameters.
| [in,out] | prm | ParameterHandler object. |
Definition at line 397 of file parameters.cc.
References declare_enum_entry(), type, and write_time_in_error_table.
| void Parameters::Timer::parse_parameters | ( | ParameterHandler & | prm | ) |
Parse the parameters.
| [in] | prm | The ParameterHandler. |
Definition at line 417 of file parameters.cc.
References string_to_enum(), type, and write_time_in_error_table.
| Type Parameters::Timer::type = Type::none |
Definition at line 1054 of file parameters.h.
| bool Parameters::Timer::write_time_in_error_table = false |
Definition at line 1056 of file parameters.h.