benchmark

This commit is contained in:
Carl-Benedikt Krüger 2011-07-05 13:50:02 +02:00
parent 33f71cefb1
commit 34eb1ddfb2
2 changed files with 2 additions and 1 deletions

View file

@ -85,7 +85,7 @@ static int active = 0;
/* decide wheter it's uses locking or not
*/
static int disable_locking = 0;
static int disable_locking = 1;
/* decide whether deliver work to a worker thread or instantly process all packets
*/

View file

@ -218,6 +218,7 @@ void* server_task(void* e)
{
kprintf("%d-",n);
send(newsockfd,buffer,sizeof(buffer),0);
udelay(10);
}
tmp2 = get_clock_tick();