xref: /dragonfly/test/sysperf/blib.h (revision 16777b6b)
1 /*
2  * BLIB.C
3  *
4  * Simple benchmarking library
5  *
6  * $DragonFly: src/test/sysperf/blib.h,v 1.1 2003/08/12 02:29:44 dillon Exp $
7  */
8 
9 #include <sys/types.h>
10 #include <sys/time.h>
11 #include <sys/mman.h>
12 #include <stdio.h>
13 #include <stdlib.h>
14 #include <stdarg.h>
15 #include <unistd.h>
16 #include <string.h>
17 
18 void start_timing(void);
19 int stop_timing(long long count, const char *ctl, ...);
20 long long get_timing(void);
21 
22