Ating for MQL5
|
Class for measuring and printing the execution time of code. More...
Public Member Functions | |
TestTime (void) | |
Default constructor for TestTime. | |
void | Start () |
Starts the time measurement. | |
void | End () |
Ends the time measurement and prints the elapsed time. | |
~TestTime (void) | |
Default destructor for TestTime. | |
Public Attributes | |
uint | start |
Start time of the measurement. | |
uint | end |
End time of the measurement. | |
Class for measuring and printing the execution time of code.
This class provides methods to start and end time measurements and print the elapsed time. It is useful for profiling and debugging performance in backtests.
|
inline |
Default constructor for TestTime.
|
inline |
Default destructor for TestTime.
void TestTime::End | ( | ) |
Ends the time measurement and prints the elapsed time.
void TestTime::Start | ( | ) |
Starts the time measurement.
uint TestTime::end |
End time of the measurement.
uint TestTime::start |
Start time of the measurement.