14 this->m_startTime.
now();
18 this->m_stopTime.
now();
24 if (status == Os::RawTime::Status::OP_OVERFLOW) {
26 result = std::numeric_limits<U32>::max();
U32 getDiffUsec() const
Get the difference between start and stop times in microseconds.
void stop()
Capture the stop time of the interval.
void start()
Capture the start time of the interval.
IntervalTimer()
Constructor.
Os::RawTime::Status getTimeInterval(Fw::TimeInterval &interval) const
Get the time interval between the start and stop times.
Status getDiffUsec(const RawTime &other, U32 &result) const
Calculate the difference in microseconds between two RawTime objects.
Status now() override
Get the current time.
Status getTimeInterval(const Os::RawTime &other, Fw::TimeInterval &interval) const override
Calculate the time interval between this and another raw time.