2010-10-24
2010-10-24 19:18:13 by Martin Stjernholm <mast@lysator.liu.se>
-
f756248fd8b550242a76050120dcd95f8aaf69ee
(5 lines)
(+2/-3)
[
Show
| Annotate
]
Branch: 7.9
Removed a stale comment.
1288: Inside #if defined(RDTSC) && defined(USE_CLOCK_FOR_SLICES)
#if defined(RDTSC) && defined(USE_CLOCK_FOR_SLICES)
/* We can get here as often as 30+ thousand times per second;
let's try to avoid doing as many clock(3)/times(2) syscalls
- by using the TSC. We'll skip any further checks until the
- number of cycles passed comes close to what it was the last
- time when we decided to yield. */
+ by using the TSC. */
if (use_tsc_for_slices) {
static INT64 target_int = TSC_START_INTERVAL;