initrd: cd to '/' before umounting '/var'
[dragonfly.git] / test / sysperf / blib.h
1 /*
2  * BLIB.C
3  *
4  * Simple benchmarking library
5  *
6  * $DragonFly: src/test/sysperf/blib.h,v 1.4 2006/04/22 22:32:52 dillon Exp $
7  */
8
9 #include <sys/types.h>
10 #include <sys/time.h>
11 #include <sys/mman.h>
12 #include <sys/stat.h>
13 #include <sys/wait.h>
14 #include <stdio.h>
15 #include <stdlib.h>
16 #include <stdarg.h>
17 #include <unistd.h>
18 #include <string.h>
19 #include <errno.h>
20
21 void start_timing(void);
22 int stop_timing(long long count, const char *ctl, ...);
23 int stop_timing2(long long count, long long us, const char *ctl, ...);
24 long long get_timing(void);
25 void nop(void);
26