diff options
author | Ben Cheng <bccheng@google.com> | 2012-09-10 17:28:19 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2012-09-10 17:28:19 -0700 |
commit | 112525715ec3dab782959ebe19f96f4454ec405c (patch) | |
tree | 75bd54b67f8356b54904cf95a7135a87945b301e /binutils-2.22/gprof/hertz.h | |
parent | 68ba60c0e44c1187cb582474ebb001d95a7170f6 (diff) | |
download | toolchain_binutils-112525715ec3dab782959ebe19f96f4454ec405c.tar.gz toolchain_binutils-112525715ec3dab782959ebe19f96f4454ec405c.tar.bz2 toolchain_binutils-112525715ec3dab782959ebe19f96f4454ec405c.zip |
Initial checkin of unmodified binutils 2.22.
Change-Id: I8c1bf4cf62df8eb16439021f1a1bac6437f5c470
Diffstat (limited to 'binutils-2.22/gprof/hertz.h')
-rw-r--r-- | binutils-2.22/gprof/hertz.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils-2.22/gprof/hertz.h b/binutils-2.22/gprof/hertz.h new file mode 100644 index 00000000..d3be327e --- /dev/null +++ b/binutils-2.22/gprof/hertz.h @@ -0,0 +1,13 @@ +#ifndef hertz_h +#define hertz_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 (void); + +#endif /* hertz_h */ |