From 428dd03f5a7291d19f0c45fc314da9356ee22d63 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 25 Jun 2014 12:27:16 -0700 Subject: 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. --- sysdeps/generic/hp-timing.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysdeps/generic/hp-timing.h') 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) -- cgit v1.2.3