summaryrefslogtreecommitdiff
path: root/include/timer.h
blob: 91d2b6d143d62ff18f008b982bb2141bc6360f7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __TIMER_H
#define __TIMER_H

#include <cstdlib>
#include <sys/time.h>

static struct timeval  TV;
static struct timezone TZ;
static long   s_utime, s_time, u_utime, u_time;

void CLOCK_START();
void CLOCK_STOP(long*);

#endif