Add fxp: A fixed-point math library.

This will be used in the next commit to allow non-integer values for
narenas_ratio.
This commit is contained in:
David Goldblatt
2020-12-01 13:00:57 -08:00
committed by David Goldblatt
parent 99c2d6c232
commit ecd39418ac
8 changed files with 578 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ C_SRCS := $(srcroot)src/jemalloc.c \
$(srcroot)src/extent.c \
$(srcroot)src/extent_dss.c \
$(srcroot)src/extent_mmap.c \
$(srcroot)src/fxp.c \
$(srcroot)src/hook.c \
$(srcroot)src/hpa.c \
$(srcroot)src/hpa_central.c \
@@ -212,6 +213,7 @@ TESTS_UNIT := \
$(srcroot)test/unit/extent_quantize.c \
${srcroot}test/unit/flat_bitmap.c \
$(srcroot)test/unit/fork.c \
${srcroot}test/unit/fxp.c \
$(srcroot)test/unit/hash.c \
$(srcroot)test/unit/hook.c \
$(srcroot)test/unit/hpa.c \