diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-01-17 23:40:03 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-01-17 23:40:03 +0000 |
commit | 88445003a8b78125cabf9aafcd7b49f1af9a9f87 (patch) | |
tree | bcf1bc7e71f04e89a9036d7795a2a0c3422ae7f8 /lib/libc_r/BENCH/Makefile | |
parent | 07aad870427e09b1a5320970648cd235915fa9b2 (diff) |
some performance metrics
Diffstat (limited to 'lib/libc_r/BENCH/Makefile')
-rw-r--r-- | lib/libc_r/BENCH/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc_r/BENCH/Makefile b/lib/libc_r/BENCH/Makefile new file mode 100644 index 00000000000..22a9618d291 --- /dev/null +++ b/lib/libc_r/BENCH/Makefile @@ -0,0 +1,16 @@ + +CPPFLAGS += -pthread +LDFLAGS += -pthread +CFLAGS += -O -ggdb +METRICS = null once_overhead self_overhead mutex_nocont mutex_cont\ + cond_nowait cond_wake cond_timed +MKDEP = -p +SRCS = ${METRICS:=.c} +CLEANFILES += ${METRICS} + +all: ${METRICS} + @${SUDO} nice -n -19 ${SHELL} -c \ + 'ulimit -d 65536; for m in ${METRICS}; do $$m || exit; done' + + +.include <bsd.prog.mk> |