Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 141 |
Kevin |
1 |
/*
|
|
|
2 |
* Function timers
|
|
|
3 |
*/
|
|
|
4 |
typedef void (*ftimer_test_funct)(void *);
|
|
|
5 |
|
|
|
6 |
/* Estimate the running time of f(argp) using the Unix interval timer.
|
|
|
7 |
Return the average of n runs */
|
|
|
8 |
double ftimer_itimer(ftimer_test_funct f, void *argp, int n);
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
/* Estimate the running time of f(argp) using gettimeofday
|
|
|
12 |
Return the average of n runs */
|
|
|
13 |
double ftimer_gettod(ftimer_test_funct f, void *argp, int n);
|
|
|
14 |
|