]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Removing HP_TIMING_ZERO as unused
authorRichard Henderson <rth@twiddle.net>
Wed, 25 Jun 2014 18:40:18 +0000 (11:40 -0700)
committerRichard Henderson <rth@twiddle.net>
Thu, 3 Jul 2014 15:38:18 +0000 (08:38 -0700)
sysdeps/alpha/hp-timing.h
sysdeps/generic/hp-timing.h
sysdeps/i386/i686/hp-timing.h
sysdeps/ia64/hp-timing.h
sysdeps/powerpc/powerpc32/power4/hp-timing.h
sysdeps/powerpc/powerpc64/hp-timing.h
sysdeps/sparc/sparc32/sparcv9/hp-timing.h
sysdeps/sparc/sparc64/hp-timing.h

index 90f9b9d475380111b8293920314c20dbb361e78b..4cbee66e7fb5ce729bbaaf7fe8d59d86c212b658 100644 (file)
@@ -42,8 +42,6 @@
    - hp_timing_t: This is the type for variables used to store the time
      values.
 
-   - HP_TIMING_ZERO: clear `hp_timing_t' object.
-
    - HP_TIMING_NOW: place timestamp for current time in variable given as
      parameter.
 
@@ -77,9 +75,6 @@
 /* We use 32 bit values for the times.  */
 typedef unsigned int hp_timing_t;
 
-/* Set timestamp value to zero.  */
-#define HP_TIMING_ZERO(VAR)    (VAR) = (0)
-
 /* The "rpcc" instruction returns a 32-bit counting half and a 32-bit
    "virtual cycle counter displacement".  Subtracting the two gives us
    a virtual cycle count.  */
index eddc971520bf48a3361aab348fac79a63ece8e31..bf78e4e9d63cbe3da78893f0eebc5581c5b044ba 100644 (file)
@@ -39,8 +39,6 @@
    - hp_timing_t: This is the type for variables used to store the time
      values.
 
-   - HP_TIMING_ZERO: clear `hp_timing_t' object.
-
    - HP_TIMING_NOW: place timestamp for current time in variable given as
      parameter.
 
@@ -68,7 +66,6 @@
 #define HP_TIMING_AVAIL                (0)
 #define HP_TIMING_INLINE       (0)
 typedef int hp_timing_t;
-#define HP_TIMING_ZERO(Var)
 #define HP_TIMING_NOW(var)
 #define HP_TIMING_DIFF_INIT()
 #define HP_TIMING_DIFF(Diff, Start, End)
index 4a2006e7457d022de8315d16fbca7228cfb4908e..18e5b95bbea0f3bbb2e068e602af70b0cbd865bc 100644 (file)
@@ -49,8 +49,6 @@
    - hp_timing_t: This is the type for variables used to store the time
      values.
 
-   - HP_TIMING_ZERO: clear `hp_timing_t' object.
-
    - HP_TIMING_NOW: place timestamp for current time in variable given as
      parameter.
 
@@ -83,9 +81,6 @@
 /* We use 64bit values for the times.  */
 typedef unsigned long long int hp_timing_t;
 
-/* Set timestamp value to zero.  */
-#define HP_TIMING_ZERO(Var)    (Var) = (0)
-
 /* That's quite simple.  Use the `rdtsc' instruction.  Note that the value
    might not be 100% accurate since there might be some more instructions
    running in this moment.  This could be changed by using a barrier like
index bf97b478c0afa52cf3eab288fd144794e2e9d600..e91326c8d0237376ce88a5ebf0d9c815026b3184 100644 (file)
@@ -43,8 +43,6 @@
    - hp_timing_t: This is the type for variables used to store the time
      values.
 
-   - HP_TIMING_ZERO: clear `hp_timing_t' object.
-
    - HP_TIMING_NOW: place timestamp for current time in variable given as
      parameter.
 
 /* We use 64bit values for the times.  */
 typedef unsigned long int hp_timing_t;
 
-/* Set timestamp value to zero.  */
-#define HP_TIMING_ZERO(Var)    (Var) = (0)
-
-
 /* The Itanium/Merced has a bug where the ar.itc register value read
    is not correct in some situations.  The solution is to read again.
    For now we always do this until we know how to recognize a fixed
index f1e3bebe66661ff3b0f1755700af563d8a95f832..2124e020815af738da8630872583afff07b4b637 100644 (file)
@@ -42,8 +42,6 @@
    - hp_timing_t: This is the type for variables used to store the time
      values.
 
-   - HP_TIMING_ZERO: clear `hp_timing_t' object.
-
    - HP_TIMING_NOW: place timestamp for current time in variable given as
      parameter.
 
@@ -76,9 +74,6 @@
 /* We use 64bit values for the times.  */
 typedef unsigned long long int hp_timing_t;
 
-/* Set timestamp value to zero.  */
-#define HP_TIMING_ZERO(Var)    (Var) = (0)
-
 /* That's quite simple.  Use the `mftb' instruction.  Note that the value
    might not be 100% accurate since there might be some more instructions
    running in this moment.  This could be changed by using a barrier like
index f1efa121d73947803d8065e6a229c62102fb02c8..c773541e674abbd65108f254b108e370ce8b4ef6 100644 (file)
@@ -42,8 +42,6 @@
    - hp_timing_t: This is the type for variables used to store the time
      values.
 
-   - HP_TIMING_ZERO: clear `hp_timing_t' object.
-
    - HP_TIMING_NOW: place timestamp for current time in variable given as
      parameter.
 
@@ -76,9 +74,6 @@
 /* We use 64bit values for the times.  */
 typedef unsigned long long int hp_timing_t;
 
-/* Set timestamp value to zero.  */
-#define HP_TIMING_ZERO(Var)    (Var) = (0)
-
 /* That's quite simple.  Use the `mftb' instruction.  Note that the value
    might not be 100% accurate since there might be some more instructions
    running in this moment.  This could be changed by using a barrier like
index fd7e76ecae735fa37435cfe6569370944f1dd071..fbfb8615bed21625f09df9ffe93e818c5cd2b048 100644 (file)
@@ -29,8 +29,6 @@
 
 typedef unsigned long long int hp_timing_t;
 
-#define HP_TIMING_ZERO(Var)    (Var) = (0)
-
 #define HP_TIMING_NOW(Var) \
       __asm__ __volatile__ ("rd %%tick, %L0\n\t" \
                            "srlx %L0, 32, %H0" \
index fa08cc85a15d3460a795d8dc2e6101592ede6559..0773efb610641d14d8344632e519fa38b4b8da8d 100644 (file)
@@ -29,8 +29,6 @@
 
 typedef unsigned long int hp_timing_t;
 
-#define HP_TIMING_ZERO(Var)    (Var) = (0)
-
 #define HP_TIMING_NOW(Var) __asm__ __volatile__ ("rd %%tick, %0" : "=r" (Var))
 
 #define HP_TIMING_DIFF_INIT() \