about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-06-25 12:27:16 -0700
committerRichard Henderson <rth@twiddle.net>2014-07-03 08:38:25 -0700
commit428dd03f5a7291d19f0c45fc314da9356ee22d63 (patch)
tree35017b916f4ebeebf563364be5c07cdee6902a4e /sysdeps/generic
parentc39323e9d2fb6697d5d8739ad9b7959c88a6d5a1 (diff)
downloadglibc-428dd03f5a7291d19f0c45fc314da9356ee22d63.tar.gz
glibc-428dd03f5a7291d19f0c45fc314da9356ee22d63.tar.xz
glibc-428dd03f5a7291d19f0c45fc314da9356ee22d63.zip
Remove HP_TIMING_DIFF_INIT and dl_hp_timing_overhead
Without HP_TIMING_ACCUM, dl_hp_timing_overhead is write-only.
If we remove it, there's no point in HP_TIMING_DIFF_INIT either.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/hp-timing.h4
-rw-r--r--sysdeps/generic/ldsodefs.h5
2 files changed, 0 insertions, 9 deletions
diff --git a/sysdeps/generic/hp-timing.h b/sysdeps/generic/hp-timing.h
index 894ab17236..49ddb91046 100644
--- a/sysdeps/generic/hp-timing.h
+++ b/sysdeps/generic/hp-timing.h
@@ -42,9 +42,6 @@
    - HP_TIMING_NOW: place timestamp for current time in variable given as
      parameter.
 
-   - HP_TIMING_DIFF_INIT: do whatever is necessary to be able to use the
-     HP_TIMING_DIFF macro.
-
    - HP_TIMING_DIFF: compute difference between two times and store it
      in a third.  Source and destination might overlap.
 
@@ -62,7 +59,6 @@
 #define HP_TIMING_INLINE	(0)
 typedef int hp_timing_t;
 #define HP_TIMING_NOW(var)
-#define HP_TIMING_DIFF_INIT()
 #define HP_TIMING_DIFF(Diff, Start, End)
 #define HP_TIMING_ACCUM_NT(Sum, Diff)
 #define HP_TIMING_PRINT(Buf, Len, Val)
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 96f018da3c..2acddaa563 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -532,11 +532,6 @@ struct rtld_global_ro
   /* All search directories defined at startup.  */
   EXTERN struct r_search_path_elem *_dl_init_all_dirs;
 
-#if HP_TIMING_AVAIL || HP_SMALL_TIMING_AVAIL
-  /* Overhead of a high-precision timing measurement.  */
-  EXTERN hp_timing_t _dl_hp_timing_overhead;
-#endif
-
 #ifdef NEED_DL_SYSINFO
   /* Syscall handling improvements.  This is very specific to x86.  */
   EXTERN uintptr_t _dl_sysinfo;