diff options
author | Niels M?ller <nisse@lysator.liu.se> | 2019-09-16 21:57:37 +0200 |
---|---|---|
committer | Niels M?ller <nisse@lysator.liu.se> | 2019-09-16 21:57:37 +0200 |
commit | e6603c7cb0bf111b9b49a51013977aa3ca316ee0 (patch) | |
tree | dfd8738a5fb36556974371b754d3210fca1a2ef7 /tune | |
parent | 9beb7c819d6960f68fcebb97bc6bd3247e8ccb84 (diff) | |
download | gmp-e6603c7cb0bf111b9b49a51013977aa3ca316ee0.tar.gz |
tuneup: Add missing comment for the one_method helper function.
Diffstat (limited to 'tune')
-rw-r--r-- | tune/tuneup.c | 5 |
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, |