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();
Status now() override
Get the current time.
IntervalTimer()
Constructor.
void stop()
Capture the stop time of the interval.
Os::RawTime::Status getTimeInterval(Fw::TimeInterval &interval) const
Get the time interval between the start and stop times.
void start()
Capture the start time of the interval.
Status getTimeInterval(const Os::RawTime &other, Fw::TimeInterval &interval) const override
Calculate the time interval between this and another raw time.
U32 getDiffUsec() const
Get the difference between start and stop times in microseconds.
Status getDiffUsec(const RawTime &other, U32 &result) const
Calculate the difference in microseconds between two RawTime objects.