/* * Timing.h * * Created on: 13 May 2016 * Author: wentzelc */ #ifndef REDACORE_TIMINGCORE_H_ #define REDACORE_TIMINGCORE_H_ // redA Libraries /* none */ // Standard C/C++ Libraries #include //--------------------------------------------------------------------------- // Manage as Interval void SetInterval( timeval *Time, long MilliSeconds ); // Manage as Timer void SetStartTime( timeval *StartTime ); void ClearStartTime( timeval * StartTime ); long TimePassed( timeval StartTime ); bool Timeout( timeval StartTime, long MilliSeconds ); //--------------------------------------------------------------------------- #endif /* REDACORE_TIMINGCORE_H_ */