benchmark
This commit is contained in:
parent
33f71cefb1
commit
34eb1ddfb2
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -218,6 +218,7 @@ void* server_task(void* e)
|
|||
{
|
||||
kprintf("%d-",n);
|
||||
send(newsockfd,buffer,sizeof(buffer),0);
|
||||
udelay(10);
|
||||
}
|
||||
|
||||
tmp2 = get_clock_tick();
|
||||
|
|
Loading…
Add table
Reference in a new issue