pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1280:    unsigned __l, __h; \    __asm__ __volatile__ ("rdtsc" : "=a" (__l), "=d" (__h)); \    (v)= __l | (((INT64)__h)<<32); \   } while (0)       if (use_tsc_for_slices) {    static INT64 target;    INT64 now;    clock_t elapsed;    -  if (!target) { -  GETCYCLES(target); -  } -  +     GETCYCLES(now);       if ((target-now)>0) {    if ((target-now)>tsc_mincycles)    use_tsc_for_slices = 0; /* The counter jumped back too far; TSC unusable */    else    return;    }       elapsed = clock() - thread_start_clock;