diff options
author | Helge Deller <deller@gmx.de> | 2016-12-20 20:51:10 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-12-20 21:39:40 +0100 |
commit | 160494d381373cfa21208484aea4e5db2d3cb0a8 (patch) | |
tree | 436b9f2b94eca1f48a0484c91838219dd022635e /samples/pktgen/pktgen_sample05_flow_per_thread.sh | |
parent | 82cbd568bc5aa4c70f2a694f169d39ddef3b1aba (diff) | |
download | blackbird-obmc-linux-160494d381373cfa21208484aea4e5db2d3cb0a8.tar.gz blackbird-obmc-linux-160494d381373cfa21208484aea4e5db2d3cb0a8.zip |
parisc: Optimize timer interrupt function
Restructure the timer interrupt function to better cope with missed timer irqs.
Optimize the calculation when the next interrupt should happen and skip irqs if
they would happen too shortly after exit of the irq function.
The update_process_times() call is done anyway at every timer irq, so we can
safely drop the prof_counter and prof_multiplier variables from the per_cpu
structure.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'samples/pktgen/pktgen_sample05_flow_per_thread.sh')
0 files changed, 0 insertions, 0 deletions