benchmark
This commit is contained in:
parent
08c0b66707
commit
be7ca23929
1 changed files with 3 additions and 1 deletions
|
@ -77,7 +77,7 @@ extern HANDLE hProc;
|
|||
|
||||
/* decide whether it's polling mode or not
|
||||
*/
|
||||
static int no_irq = 0;
|
||||
static int no_irq = 1;
|
||||
|
||||
/* this will be set by open() and close() and shows wether the driver is running or not
|
||||
*/
|
||||
|
@ -1202,6 +1202,8 @@ int mmnif_poll(void* e)
|
|||
sem_wait(&mmnif->com_poll);
|
||||
mmnif->stats.pll_empty = 1;
|
||||
}
|
||||
mmnif->stats.pll_empty++;
|
||||
mmnif->stats.pll_empty = 0;
|
||||
}
|
||||
mmnif->stats.pll_empty--;
|
||||
mmnif_rx(mmnif_dev);
|
||||
|
|
Loading…
Add table
Reference in a new issue