Branch: Tag:

2014-09-03

2014-09-03 22:52:12 by Martin Nilsson <nilsson@opera.com>

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