#include <rate_timer.h>
Classes | |
| struct | Event |
Public Member Functions | |
| double | ComputeRate () const |
| double | ComputeWallTimeRateRatio () const |
| std::string | DebugString () const |
| RateTimer & | operator= (const RateTimer &) |
| void | Pulse (common::Time time) |
| RateTimer (const common::Duration window_duration) | |
| RateTimer (const RateTimer &) | |
| ~RateTimer () | |
Private Member Functions | |
| std::vector< double > | ComputeDeltasInSeconds () const |
| std::string | DeltasDebugString () const |
Private Attributes | |
| std::deque< Event > | events_ |
| const common::Duration | window_duration_ |
Definition at line 37 of file rate_timer.h.
| cartographer::common::RateTimer< ClockType >::RateTimer | ( | const common::Duration | window_duration | ) | [inline, explicit] |
Definition at line 41 of file rate_timer.h.
| cartographer::common::RateTimer< ClockType >::~RateTimer | ( | ) | [inline] |
Definition at line 43 of file rate_timer.h.
| cartographer::common::RateTimer< ClockType >::RateTimer | ( | const RateTimer< ClockType > & | ) |
| std::vector<double> cartographer::common::RateTimer< ClockType >::ComputeDeltasInSeconds | ( | ) | const [inline, private] |
Definition at line 98 of file rate_timer.h.
| double cartographer::common::RateTimer< ClockType >::ComputeRate | ( | ) | const [inline] |
Definition at line 49 of file rate_timer.h.
| double cartographer::common::RateTimer< ClockType >::ComputeWallTimeRateRatio | ( | ) | const [inline] |
Definition at line 60 of file rate_timer.h.
| std::string cartographer::common::RateTimer< ClockType >::DebugString | ( | ) | const [inline] |
Definition at line 80 of file rate_timer.h.
| std::string cartographer::common::RateTimer< ClockType >::DeltasDebugString | ( | ) | const [inline, private] |
Definition at line 111 of file rate_timer.h.
| RateTimer& cartographer::common::RateTimer< ClockType >::operator= | ( | const RateTimer< ClockType > & | ) |
| void cartographer::common::RateTimer< ClockType >::Pulse | ( | common::Time | time | ) | [inline] |
Definition at line 70 of file rate_timer.h.
std::deque<Event> cartographer::common::RateTimer< ClockType >::events_ [private] |
Definition at line 128 of file rate_timer.h.
const common::Duration cartographer::common::RateTimer< ClockType >::window_duration_ [private] |
Definition at line 129 of file rate_timer.h.