[CONTRIB] halog: faster fgets() and add support for percentile reporting
A new fgets implementation saves about 25-50% of the time spent parsing
the logs.
Percentile calculation has been added for timers using -pct.
diff --git a/contrib/halog/Makefile b/contrib/halog/Makefile
index 911cae6..2215e03 100644
--- a/contrib/halog/Makefile
+++ b/contrib/halog/Makefile
@@ -1,10 +1,12 @@
INCLUDE = -I../../include
OPTIMIZE = -O3 -mtune=pentium-m
-CC = gcc
-OBJS = halog
+OBJS = halog halog64
+
+halog: halog.c fgets2.c
+ $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) ../../src/ebtree.c ../../src/eb32tree.c $^
-halog: halog.c
+halog64: halog.c fgets2-64.c
$(CC) $(OPTIMIZE) -o $@ $(INCLUDE) ../../src/ebtree.c ../../src/eb32tree.c $^
clean: