diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-08 06:44:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-08 06:44:42 +0000 |
commit | b412350783d865d2e988ae9effa3249d4d3906b0 (patch) | |
tree | b1bfba986e02bf6962e5c644571468115c8d7268 /sysdeps/ia64/hp-timing.h | |
parent | d1a5466da874386f7de99d381513e6779a331c7e (diff) | |
download | glibc-b412350783d865d2e988ae9effa3249d4d3906b0.tar.gz |
Update.
2001-08-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
funcationality.
* sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
2001-08-07 Jakub Jelinek <jakub@redhat.com>
* malloc/memusage.c (initialized): New variable.
(init): If not yet initialized, call me().
(me): Do all dlsym calls here.
(malloc, realloc, calloc, free): If not yet initialized,
call me(). If in the middle of initializing, return NULL or
do nothing.
Diffstat (limited to 'sysdeps/ia64/hp-timing.h')
-rw-r--r-- | sysdeps/ia64/hp-timing.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/ia64/hp-timing.h b/sysdeps/ia64/hp-timing.h index ed1dc6067e..da2cd8e9c6 100644 --- a/sysdeps/ia64/hp-timing.h +++ b/sysdeps/ia64/hp-timing.h @@ -92,11 +92,7 @@ extern hp_timing_t __libc_hp_timing_overhead; processor implementation. */ #define REPEAT_READ(val) __builtin_expect ((int) val == -1, 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 - 'cpuid' right before the `rdtsc' instruciton. But we are not interested - in accurate clock cycles here so we don't do this. */ +/* That's quite simple. Use the `ar.itc' instruction. */ #define HP_TIMING_NOW(Var) \ ({ unsigned long int __itc; \ do \ |