From 9e0e01b7f4375063f06e494113187d48614628e0 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 30 Nov 2021 22:25:37 +0800 Subject: +init --- Client/ThirdParty/libfixmath/benchmarks/interface.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Client/ThirdParty/libfixmath/benchmarks/interface.c (limited to 'Client/ThirdParty/libfixmath/benchmarks/interface.c') diff --git a/Client/ThirdParty/libfixmath/benchmarks/interface.c b/Client/ThirdParty/libfixmath/benchmarks/interface.c new file mode 100644 index 0000000..7f37648 --- /dev/null +++ b/Client/ThirdParty/libfixmath/benchmarks/interface.c @@ -0,0 +1,12 @@ +#include +#include "interface.h" + +void print_value(const char *label, int32_t value) +{ + printf("%-20s %6ld\n", label, value); +} + +void print(const char *label, cyclecount_t *count) +{ + printf("%-20s %6ld %6ld %6ld\n",label,count->min, count->sum / count->count, count->max); +} -- cgit v1.1-26-g67d0