std::int64_t getCycleCount() const
Count of how many cycles were executed, i.e.
IceUtil::Time getMinimumDuration() const
IceUtil::Time getLastCycleTime() const
Time when the last cycle finished or start time.
This util class helps with keeping a cycle time during a control cycle.
IceUtil::Time cycleMaxDuration
void setBusyWaitShare(float value)
IceUtil::Time getMaximumDuration() const
IceUtil::Time cycleDuration
float getBusyWaitShare() const
IceUtil::Time getAverageDuration() const
IceUtil::Time lastCycleTime
std::shared_ptr< Value > value()
void reset()
resets startTime, lastCycleTime and cycleCount.
IceUtil::Time waitForCycleDuration()
This function will wait (virtual or system time) until the cycle time is reached.
IceUtil::Time cycleMinDuration
armarx::core::time::DateTime Time
IceUtil::Time getStartTime() const
Time when object was constructed or reset was last called.
CycleUtil(const IceUtil::Time &cycleDuration, bool forceSystemTime=false)
static IceUtil::Time now()
This file offers overloads of toIce() and fromIce() functions for STL container types.