|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <profiler.hpp>
Public Member Functions | |
| ProfilerData () | |
| ProfilerData (const char *name) | |
| void | reset () |
| Resets the long term profile storage information. | |
Public Attributes | |
| const char * | name = nullptr |
| Name of the profile. | |
| uint32_t | min = UINT32_MAX |
| Min value, in microseconds, ever recorded by the profiler. | |
| uint32_t | max = 0 |
| Max value, in microseconds, ever recorded by the profiler. | |
| float | avg = 0 |
| Average value, in microseconds, averaged using a low pass filter. | |
| uint32_t | prevPushedTime = 0 |
Stores profile information.
|
inline |
|
inlineexplicit |
|
inline |
Resets the long term profile storage information.
| float tap::arch::Profiler::ProfilerData::avg = 0 |
Average value, in microseconds, averaged using a low pass filter.
| uint32_t tap::arch::Profiler::ProfilerData::max = 0 |
Max value, in microseconds, ever recorded by the profiler.
| uint32_t tap::arch::Profiler::ProfilerData::min = UINT32_MAX |
Min value, in microseconds, ever recorded by the profiler.
| const char* tap::arch::Profiler::ProfilerData::name = nullptr |
Name of the profile.
| uint32_t tap::arch::Profiler::ProfilerData::prevPushedTime = 0 |
Value used to measure a "dt" between pushing and popping the profile from the profiler.