Files
redAcore/TimingCore.h
Charl Wentzel 630583bbc6 Minor Update:
- BufferCore: Set BufSize as class constant
- TimingCore: Add new function Timeout()
2016-06-02 09:36:08 +02:00

27 lines
602 B
C

/*
* 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 <sys/time.h>
//---------------------------------------------------------------------------
void SetInterval( timeval *Time, long MilliSeconds );
void SetStartTime( timeval *StartTime );
long TimePassed( timeval StartTime );
bool Timeout( timeval StartTime, long MilliSeconds );
//---------------------------------------------------------------------------
#endif /* REDACORE_TIMINGCORE_H_ */