aboutsummaryrefslogtreecommitdiff
path: root/benchtests
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2013-10-08 14:04:10 +0300
committerTorvald Riegel <triegel@redhat.com>2013-10-10 14:45:30 +0300
commit40fefba1b5b05d05a3a4b48796a1006db90d8f74 (patch)
treef7bddfa085842455cbe6934dae95707a0a4e6e2e /benchtests
parentdcc2dd3f46e6cd532527ed041103633f99efb611 (diff)
downloadglibc-40fefba1b5b05d05a3a4b48796a1006db90d8f74.zip
glibc-40fefba1b5b05d05a3a4b48796a1006db90d8f74.tar.gz
glibc-40fefba1b5b05d05a3a4b48796a1006db90d8f74.tar.bz2
benchtests: Add include-sources directive.
This adds the "include-sources" directive to scripts/bench.pl. This allows for including source code (vs including headers, which might get a different search path) after the inclusion of any headers.
Diffstat (limited to 'benchtests')
-rw-r--r--benchtests/README7
1 files changed, 5 insertions, 2 deletions
diff --git a/benchtests/README b/benchtests/README
index 5faca53..0c643a6 100644
--- a/benchtests/README
+++ b/benchtests/README
@@ -51,9 +51,12 @@ one to add `foo' to the bench tests:
inputs.
- ret: This should be assigned the type that the function returns. This
directive may be skipped if the function does not return a value.
- - includes: This should be assigned a comma separated list of headers that
+ - includes: This should be assigned a comma-separated list of headers that
need to be included to provide declarations for the function and types it
- may need.
+ may need (specifically, this includes using "#include <header>").
+ - include-sources: This should be assigned a comma-separated list of source
+ files that need to be included to provide definitions of global variables
+ and functions (specifically, this includes using "#include "source").
- name: See following section for instructions on how to use this directive.
Lines beginning with a single hash '#' are treated as comments. See