diff options
author | Steve Ellcey <sellcey@mips.com> | 2013-11-13 08:48:25 -0800 |
---|---|---|
committer | Steve Ellcey <sellcey@mips.com> | 2013-11-13 08:48:25 -0800 |
commit | e8470ea216ec2ed999e17498ce13fb66e3d09be3 (patch) | |
tree | be904e82d223319d1fb69bc6b2efac958365a618 /benchtests/bench-timing.h | |
parent | 17c1d9f03e16d56db11b17eac828ad28f30a73e0 (diff) | |
download | glibc-e8470ea216ec2ed999e17498ce13fb66e3d09be3.zip glibc-e8470ea216ec2ed999e17498ce13fb66e3d09be3.tar.gz glibc-e8470ea216ec2ed999e17498ce13fb66e3d09be3.tar.bz2 |
2013-11-13 Steve Ellcey <sellcey@mips.com>
* benchtests/bench-timing.h: Include time.h.
Diffstat (limited to 'benchtests/bench-timing.h')
-rw-r--r-- | benchtests/bench-timing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h index 48a8521..619994f 100644 --- a/benchtests/bench-timing.h +++ b/benchtests/bench-timing.h @@ -41,6 +41,8 @@ typedef hp_timing_t timing_t; (min) / (d_iters), 1e6 * (d_total_i) / (d_total_s)); #else + +#include <time.h> typedef uint64_t timing_t; /* Measure the resolution of the clock so we can scale the number of |