summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gprof/hertz.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-08 11:10:27 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-08 11:10:27 +0000
commit8b46c09925a80623c289e346c12921bc09fd1678 (patch)
tree01507d0da339cc7e5e6f5d16dfa625f94910b091 /gnu/usr.bin/binutils/gprof/hertz.h
parent5d56227f9458a53138642c1b4488b4a30f85f334 (diff)
Initial GNU binutils 2.6 import
Diffstat (limited to 'gnu/usr.bin/binutils/gprof/hertz.h')
-rw-r--r--gnu/usr.bin/binutils/gprof/hertz.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gprof/hertz.h b/gnu/usr.bin/binutils/gprof/hertz.h
new file mode 100644
index 00000000000..d5a23d3224a
--- /dev/null
+++ b/gnu/usr.bin/binutils/gprof/hertz.h
@@ -0,0 +1,14 @@
+#ifndef hertz_h
+#define hertz_h
+
+#include "gprof.h"
+
+#define HZ_WRONG 0 /* impossible clock frequency */
+
+/*
+ * Discover the tick frequency of the machine if something goes wrong,
+ * we return HZ_WRONG, an impossible sampling frequency.
+ */
+extern int hertz PARAMS ((void));
+
+#endif /* hertz_h */