2014-09-03
2014-09-03 22:52:12 by Martin Nilsson <nilsson@opera.com>
-
8bfefed3b0871b5afb90a3cae95bb5011df3b5ee
(6 lines)
(+3/-3)
[
Show
| Annotate
]
Branch: 8.0
clock is C89, so assume it exists.
360: Inside #if undefined(CONFIGURE_TEST)
#ifndef CONFIGURE_TEST
- #if defined(HAVE_CLOCK) && \
- (defined (RDTSC) || \
+ #if defined (RDTSC) || \
(!defined(HAVE_GETHRTIME) && \
- !(defined(HAVE_MACH_TASK_INFO_H) && defined(TASK_THREAD_TIMES_INFO))))
+ !(defined(HAVE_MACH_TASK_INFO_H) && defined(TASK_THREAD_TIMES_INFO)))
static clock_t thread_start_clock = 0;
static THREAD_T last_clocked_thread = 0;
#define USE_CLOCK_FOR_SLICES