From e6603c7cb0bf111b9b49a51013977aa3ca316ee0 Mon Sep 17 00:00:00 2001 From: Niels M?ller Date: Mon, 16 Sep 2019 21:57:37 +0200 Subject: tuneup: Add missing comment for the one_method helper function. --- tune/tuneup.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tune') diff --git a/tune/tuneup.c b/tune/tuneup.c index 19948e0e4..fd7ecbac9 100644 --- a/tune/tuneup.c +++ b/tune/tuneup.c @@ -712,6 +712,11 @@ one (mp_size_t *threshold, struct param_t *param) print_define_end (param->name, *threshold); } +/* Time N different FUNCTIONS with the same parameters and size, to + select the fastest. Since *_METHOD defines start numbering from + one, if functions[i] is fastest, the value of the define is i+1. + Also output a comment with speedup compared to the next fastest + function. The NAME argument is used only for trace output.*/ void one_method (int n, speed_function_t *functions, const char *name, const char *define, -- cgit v1.2.1