2013-11-13 Steve Ellcey <sellcey@mips.com>
* benchtests/bench-timing.h: Include time.h.
This commit is contained in:
parent
17c1d9f03e
commit
e8470ea216
@ -1,3 +1,7 @@
|
|||||||
|
2013-11-13 Steve Ellcey <sellcey@mips.com>
|
||||||
|
|
||||||
|
* benchtests/bench-timing.h: Include time.h.
|
||||||
|
|
||||||
2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
|
2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #15997]
|
[BZ #15997]
|
||||||
|
@ -41,6 +41,8 @@ typedef hp_timing_t timing_t;
|
|||||||
(min) / (d_iters), 1e6 * (d_total_i) / (d_total_s));
|
(min) / (d_iters), 1e6 * (d_total_i) / (d_total_s));
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
typedef uint64_t timing_t;
|
typedef uint64_t timing_t;
|
||||||
|
|
||||||
/* Measure the resolution of the clock so we can scale the number of
|
/* Measure the resolution of the clock so we can scale the number of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user