summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-04-13 15:03:19 +0100
committerRoy Marples <roy@marples.name>2017-04-13 15:03:19 +0100
commitbf56b398e75523d97c4bf73d028cc60b90720c8c (patch)
tree67541b5bc71c9bd758889b170439284fe2f40919 /tests
parent3bc50abd0006dd320962cd33695b53a38290fcdf (diff)
downloaddhcpcd-bf56b398e75523d97c4bf73d028cc60b90720c8c.tar.xz
Style
Diffstat (limited to 'tests')
-rw-r--r--tests/eloop-bench/README.md27
1 files changed, 13 insertions, 14 deletions
diff --git a/tests/eloop-bench/README.md b/tests/eloop-bench/README.md
index 3b139689..5ef87937 100644
--- a/tests/eloop-bench/README.md
+++ b/tests/eloop-bench/README.md
@@ -12,11 +12,11 @@ polling mechanisms. It's inspired by libevent/bench.
eloop needs to be compiled for a specific polling mechanism.
eloop will try and work out which one to use, but you can influence which one
by giving one of these CPPFLAGS to the Makefile:
- * HAVE_KQUEUE
- * HAVE_EPOLL
- * HAVE_PSELECT
- * HAVE_POLLTS
- * HAVE_PPOLL
+ * `HAVE_KQUEUE`
+ * `HAVE_EPOLL`
+ * `HAVE_PSELECT`
+ * `HAVE_POLLTS`
+ * `HAVE_PPOLL`
kqueue(2) is found on modern BSD kernels.
epoll(2) is found on modern Linux and Solaris kernels.
@@ -43,12 +43,11 @@ Once nwrites is 0, the timed run will end once the last write has been read.
At the end of run, the time taken in seconds and nanoseconds is printed.
The following arguments can influence the benchmark:
-
- * `-a active`
- The number of active pipes, default 1.
- * `-n pipes`
- The number of pipes to create and attach an eloop callback to, defalt 100.
- * `-r runs`
- The number of timed runs to make, default 25.
- * `-w writes`
- The number of writes to make by the read callback, default 100.
+ * `-a active`
+The number of active pipes, default 1.
+ * `-n pipes`
+The number of pipes to create and attach an eloop callback to, defalt 100.
+ * `-r runs`
+The number of timed runs to make, default 25.
+ * `-w writes`
+The number of writes to make by the read callback, default 100.