mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
hurd: include generic's hp-timing.h instead of copying it
* sysdeps/mach/hurd/hp-timing.h: include <sysdeps/generic/hp-timing.h> instead of copying it.
This commit is contained in:
parent
ef4cf463e5
commit
9a123ff05d
@ -17,22 +17,5 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _HP_TIMING_H
|
||||
#define _HP_TIMING_H 1
|
||||
|
||||
/* We don't have support for high precision timing for now. */
|
||||
|
||||
/* Provide dummy definitions. */
|
||||
#define HP_TIMING_AVAIL (0)
|
||||
#define HP_SMALL_TIMING_AVAIL (0)
|
||||
#define HP_TIMING_INLINE (0)
|
||||
typedef int hp_timing_t;
|
||||
#define HP_TIMING_NOW(var)
|
||||
#define HP_TIMING_DIFF(Diff, Start, End)
|
||||
#define HP_TIMING_ACCUM_NT(Sum, Diff)
|
||||
#define HP_TIMING_PRINT(Buf, Len, Val)
|
||||
|
||||
/* Since this implementation is not available we tell the user about it. */
|
||||
#define HP_TIMING_NONAVAIL 1
|
||||
|
||||
#endif /* hp-timing.h */
|
||||
#include <sysdeps/generic/hp-timing.h>
|
||||
|
Loading…
Reference in New Issue
Block a user