aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/alpha/hp-timing.h
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/alpha/hp-timing.h
parentc39323e9d2fb6697d5d8739ad9b7959c88a6d5a1 (diff)
downloadglibc-428dd03f5a7291d19f0c45fc314da9356ee22d63.zip
glibc-428dd03f5a7291d19f0c45fc314da9356ee22d63.tar.gz
glibc-428dd03f5a7291d19f0c45fc314da9356ee22d63.tar.bz2
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/alpha/hp-timing.h')
-rw-r--r--sysdeps/alpha/hp-timing.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/alpha/hp-timing.h b/sysdeps/alpha/hp-timing.h
index 71322f9..9745e53 100644
--- a/sysdeps/alpha/hp-timing.h
+++ b/sysdeps/alpha/hp-timing.h
@@ -45,9 +45,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.
@@ -80,9 +77,6 @@ typedef unsigned int hp_timing_t;
(VAR) = (int) (x_) - (int) (x_ >> 32); \
} while (0)
-/* ??? Two rpcc instructions can be scheduled simultaneously. */
-#define HP_TIMING_DIFF_INIT() do { } while (0)
-
/* It's simple arithmetic for us. */
#define HP_TIMING_DIFF(Diff, Start, End) (Diff) = ((End) - (Start))