Add function call overhead tests for (1) direct calls, (2) indirect calls,
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 20 Mar 2004 01:51:01 +0000 (01:51 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 20 Mar 2004 01:51:01 +0000 (01:51 +0000)
commite4e0c22c35388a3d2a1708ae024e4cdcb7ea6372
tree22040d900f4563c433b2a6df87189c0d5377fa23
parent492efe0581832444d26594b19a3363250e26e2e9
Add function call overhead tests for (1) direct calls, (2) indirect calls,
and (3) call(func) -> func() indirect calls where (a) function 1 is passed
to the call, (b) function 1 and function 2 alternate being passed to the
call, and (c) function 2 is passed to the call (as a double check).  i.e.
call3 is explicitly testing branch prediction misses.
test/sysperf/Makefile
test/sysperf/blib.c
test/sysperf/call1.c [new file with mode: 0644]
test/sysperf/call2.c [new file with mode: 0644]
test/sysperf/call3.c [new file with mode: 0644]