benchmark
This commit is contained in:
parent
4f5505452c
commit
820b4e3a18
2 changed files with 2 additions and 2 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
|
||||
*/
|
||||
|
|
|
@ -216,7 +216,7 @@ void* server_task(void* e)
|
|||
|
||||
for (n = 0; n < 1024 ; n++)
|
||||
{
|
||||
kprintf("\r%d-",n);
|
||||
kprintf("%d-",n);
|
||||
send(newsockfd,buffer,sizeof(buffer),0);
|
||||
udelay(1000);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue