summaryrefslogtreecommitdiff
path: root/timer.c
blob: 0e96e1fee09b77968b8f349e9c5e6f0a43a00558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "fossil.h"
#include  <time.h>

int              Timer(double timelimit)
{
clock_t time_now;
time_now = clock();
if(timelimit < time_now)
{
return(FALSE);
}
return(TRUE);
}