summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
Diffstat (limited to 'tune')
-rw-r--r--tune/tuneup.c5
1 files changed, 5 insertions, 0 deletions
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,