Using min is definitely not correct. That would ensure that you
either got a pause of 1 tick or 0 ticks.
This may get you better granularity, depending on the system.
pause_sbt("e1000_delay", x * SBT_1US, x < 1000 ? 100 * SBT_1US : SBT_1MS, 0);
___
fre
Hi,
I was recently doing some tests and found out that on the iflib e1000
driver I can do much less media status checks per second compared to the
non-iflib driver. I found out that this is caused by the definition of
safe_pause_us() which calls:
pause("e1000_delay", max(1, x/(100/hz)));
If