event/sw: move stats code for better cache access
authorVipin Varghese <vipin.varghese@intel.com>
Tue, 27 Feb 2018 20:17:18 +0000 (01:47 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 16 Apr 2018 08:07:03 +0000 (10:07 +0200)
commit642bc2a33ca7231f39c368027ca4f7625945c95b
tree035492d7917d017690017e353c5894f269919689
parent63ddc002391359e5b2bb375b63939eb4e911a709
event/sw: move stats code for better cache access

variables 'out_pkts_total' and 'out_pkts_total' will be in registers.
Hence shifting the code after the loop, helps the update from registers.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Acked-by: Kevin Laatz <kevin.laatz@intel.com>
drivers/event/sw/sw_evdev_scheduler.c