benchmark
This commit is contained in:
parent
b1e1da3325
commit
4f5505452c
2 changed files with 3 additions and 4 deletions
|
@ -77,7 +77,7 @@ extern HANDLE hProc;
|
|||
|
||||
/* decide whether it's polling mode or not
|
||||
*/
|
||||
static int no_irq = 1;
|
||||
static int no_irq = 0;
|
||||
|
||||
/* this will be set by open() and close() and shows wether the driver is running or not
|
||||
*/
|
||||
|
@ -85,7 +85,7 @@ static int active = 0;
|
|||
|
||||
/* decide wheter it's uses locking or not
|
||||
*/
|
||||
static int disable_locking = 1;
|
||||
static int disable_locking = 0;
|
||||
|
||||
/* decide whether deliver work to a worker thread or instantly process all packets
|
||||
*/
|
||||
|
@ -1203,7 +1203,6 @@ int mmnif_poll(void* e)
|
|||
mmnif->stats.pll_empty = 1;
|
||||
}
|
||||
mmnif->stats.pll_empty++;
|
||||
mmnif->stats.pll_empty = 0;
|
||||
}
|
||||
mmnif->stats.pll_empty--;
|
||||
mmnif_rx(mmnif_dev);
|
||||
|
|
|
@ -218,7 +218,7 @@ void* server_task(void* e)
|
|||
{
|
||||
kprintf("\r%d-",n);
|
||||
send(newsockfd,buffer,sizeof(buffer),0);
|
||||
udelay(100);
|
||||
udelay(1000);
|
||||
}
|
||||
|
||||
tmp2 = get_clock_tick();
|
||||
|
|
Loading…
Add table
Reference in a new issue