lkml.org 
[lkml]   [1999]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] new scheduler
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.305 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site