diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-06-04 18:11:43 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-06-11 15:08:13 +0530 |
commit | fec799f823100646f535c5e24128c648cba4c2c5 (patch) | |
tree | 879cc54a136654f9fc77d4a43ad9666730e1e63b /string/test-string.h | |
parent | 9702047480d9002522936c5e1e1ebe16f696880d (diff) | |
download | glibc-fec799f823100646f535c5e24128c648cba4c2c5.tar.gz glibc-fec799f823100646f535c5e24128c648cba4c2c5.tar.xz glibc-fec799f823100646f535c5e24128c648cba4c2c5.zip |
Remove performance-related bits from string tests
Diffstat (limited to 'string/test-string.h')
-rw-r--r-- | string/test-string.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/string/test-string.h b/string/test-string.h index 47659d0804..afb6980d59 100644 --- a/string/test-string.h +++ b/string/test-string.h @@ -53,7 +53,6 @@ extern impl_t __start_impls[], __stop_impls[]; #include <ifunc-impl-list.h> #define GL(x) _##x #define GLRO(x) _##x -#include <hp-timing.h> # define TEST_FUNCTION test_main () @@ -67,8 +66,6 @@ int ret, do_srandom; unsigned int seed; size_t page_size; -hp_timing_t _dl_hp_timing_overhead; - # ifndef ITERATIONS size_t iterations = 100000; # define ITERATIONS_OPTIONS \ @@ -159,16 +156,6 @@ static impl_t *impl_array; if (!notall || impl->test) #endif -#define HP_TIMING_BEST(best_time, start, end) \ - do \ - { \ - hp_timing_t tmptime; \ - HP_TIMING_DIFF (tmptime, start + _dl_hp_timing_overhead, end); \ - if (best_time > tmptime) \ - best_time = tmptime; \ - } \ - while (0) - #ifndef BUF1PAGES # define BUF1PAGES 1 #endif @@ -199,7 +186,6 @@ test_init (void) error (EXIT_FAILURE, errno, "mmap failed"); if (mprotect (buf2 + page_size, page_size, PROT_NONE)) error (EXIT_FAILURE, errno, "mprotect failed"); - HP_TIMING_DIFF_INIT (); if (do_srandom) { printf ("Setting seed to 0x%x\n", seed); |