1 2010-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 We don't have support for hp timing for now, even the i686 variant, which needs
5 Copied from sysdeps/generic/hp-timing.h
8 hp-timing.h | 41 +++++++++++++++++++++++++++++++++++++++++
9 1 file changed, 41 insertions(+)
11 diff --git a/sysdeps/mach/hurd/hp-timing.h b/sysdeps/mach/hurd/hp-timing.h
13 index 0000000..933fb83
15 +++ b/sysdeps/mach/hurd/hp-timing.h
17 +/* High precision, low overhead timing functions. Generic version.
18 + Copyright (C) 1998, 2000 Free Software Foundation, Inc.
19 + This file is part of the GNU C Library.
20 + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
22 + The GNU C Library is free software; you can redistribute it and/or
23 + modify it under the terms of the GNU Lesser General Public
24 + License as published by the Free Software Foundation; either
25 + version 2.1 of the License, or (at your option) any later version.
27 + The GNU C Library is distributed in the hope that it will be useful,
28 + but WITHOUT ANY WARRANTY; without even the implied warranty of
29 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30 + Lesser General Public License for more details.
32 + You should have received a copy of the GNU Lesser General Public
33 + License along with the GNU C Library; if not, write to the Free
34 + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
38 +#define _HP_TIMING_H 1
40 +/* We don't have support for high precision timing for now. */
42 +/* Provide dummy definitions. */
43 +#define HP_TIMING_AVAIL (0)
44 +#define HP_TIMING_INLINE (0)
45 +typedef int hp_timing_t;
46 +#define HP_TIMING_ZERO(Var)
47 +#define HP_TIMING_NOW(var)
48 +#define HP_TIMING_DIFF_INIT()
49 +#define HP_TIMING_DIFF(Diff, Start, End)
50 +#define HP_TIMING_ACCUM(Sum, Diff)
51 +#define HP_TIMING_ACCUM_NT(Sum, Diff)
52 +#define HP_TIMING_PRINT(Buf, Len, Val)
54 +/* Since this implementation is not available we tell the user about it. */
55 +#define HP_TIMING_NONAVAIL 1
57 +#endif /* hp-timing.h */