6 #include <argos3/core/utility/math/general.h>
63 return m_fNominalRate;
unsigned long long UInt64
64-bit unsigned integer.
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
CRate(Real f_rate)
Class constructor.
UInt64 ElapsedUS() const
Returns the time elapsed since the last sleep in microseconds.
void Sleep()
Sleeps for the appropriate time to complete the period.
~CRate()
Class destructor.
void SetRate(Real f_rate)
Sets the rate and resets the internal clock.
Real GetRate() const
Returns the rate.
Real ElapsedS() const
Returns the time elapsed since the last sleep in seconds.