![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|
Profiler class to measure the elapsed time. More...
#include <duckdb.hpp>

Public Member Functions | |
| void | Start () |
| Start the timer. | |
| void | End () |
| End the timer. | |
| void | Reset () |
| Reset the timer. | |
| double | Elapsed () const |
| idx_t | ElapsedNanos () const |
Private Member Functions | |
| time_point< T > | Tick () const |
| Current time point. | |
Private Attributes | |
| time_point< T > | start |
| Start time point. | |
| time_point< T > | end |
| End time point. | |
| bool | finished = false |
| True, if end End() been called. | |
| bool | ran = false |
| True, if the timer was ran. | |
Profiler class to measure the elapsed time.
|
inline |
Start the timer.

|
inline |
End the timer.

|
inline |
|
inline |
Returns the elapsed time in seconds. If ran is false, it returns 0. If End() has been called, it returns the total elapsed time, otherwise, returns how far along the timer is right now.

|
inline |
|
inlineprivate |
Current time point.
