Messages in this thread | | | Subject | Re: [patch] new scheduler | Date | Mon, 10 May 1999 15:03:46 +0200 (MEST) | From | (Rogier Wolff) |
| |
Rogier Wolff wrote: > for (i=0;i<n;i++) { > count (c); > if (bad) usleep (1); > }
> Also note that 2.2 sleeps for 2ms (incorrect?) while 2.0.x sleeps for > 12 ms at a time....
I changed the "usleep" to 9000, and it still only sleeps for two ms.
ozon /home/wolff> time ./testit 478468 Counted to 239234000 0.020u 0.000s 0:05.01 0.3% 0+0k 0+0io 56pf+0w
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* ------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |