/****************************************************************************
**
** Timer.h : Contains definitions of various timing functions.
**
** Created 8/3/95
**
** By Nick Koudas.
**
**
** Modification History:
** 8/3/95 Initial Implementation.
**
**
**
******************************************************************************/
#include <sys/time.h>


#define INIT_VAL_SEC  10000000          /* Initial value in seconds */
#define INIT_VAL_USEC 999999           /* initial value in microseconds */


/******************************** FUNCTION DEFINITIONS ************************/

/* Sets the timer to the specified values */

void SetTime(struct itimerval *value);

/* Returns the elapsed time between calls in msecs*/

float GetTime(struct itimerval *value);

extern void StartTheClock();
extern long StopTheClock();
