projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge from vendor branch BINUTILS:
[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.2 2003/11/19 00:59:19 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 <stdio.h>
14
#include <stdlib.h>
15
#include <stdarg.h>
16
#include <unistd.h>
17
#include <string.h>
18
19
void start_timing(void);
20
int stop_timing(long long count, const char *ctl, ...);
21
long long get_timing(void);
22