From 73dd936b9d1d07500be998606781561e956e0be6 Mon Sep 17 00:00:00 2001 From: KyleJHarper Date: Thu, 22 Oct 2015 03:57:21 -0500 Subject: Wrote the skeleton of the performance test. Need to finish tests for the rest of the call stack and then my own copy of generic(). --- examples/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 069f7d9..e00bb58 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -68,6 +68,9 @@ lineCompress: $(LZ4DIR)/lz4.c blockStreaming_lineByLine.c frameCompress: frameCompress.c $(CC) $(FLAGS) $^ -o $@$(EXT) -L$(LZ4DIR) -llz4 +argPerformanceTesting: $(LZ4DIR)/lz4.c argPerformanceTesting.c + $(CC) $(FLAGS) $^ -o $@$(EXT) -lrt + test : all ./printVersion$(EXT) ./doubleBuffer$(EXT) $(TESTFILE) @@ -80,6 +83,6 @@ test : all clean: @rm -f core *.o *.dec *-0 *-9 *-8192 *.lz4s *.lz4 \ printVersion$(EXT) doubleBuffer$(EXT) ringBuffer$(EXT) ringBufferHC$(EXT) \ - lineCompress$(EXT) frameCompress$(EXT) + lineCompress$(EXT) frameCompress$(EXT) argPerformanceTesting$(EXT) @echo Cleaning completed -- cgit v0.12