This adds a benchmark directory to the powerpc selftests and adds a gettimeofday() benchmark to it. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
13 lines
146 B
Makefile
13 lines
146 B
Makefile
TEST_PROGS := gettimeofday
|
|
|
|
CFLAGS += -O2
|
|
|
|
all: $(TEST_PROGS)
|
|
|
|
$(TEST_PROGS): ../harness.c
|
|
|
|
include ../../lib.mk
|
|
|
|
clean:
|
|
rm -f $(TEST_PROGS) *.o
|