'Update the IRQ stats'

@GlancesPlugin._check_decorator
@GlancesPlugin._log_result_decorator
def update(self):

    self.reset()
    if (not LINUX):
        return self.stats
    if (self.input_method == 'local'):
        self.stats = self.irq.get()
    elif (self.input_method == 'snmp'):
        pass
    self.stats = sorted(self.stats, key=operator.itemgetter('irq_rate'), reverse=True)[:5]
    return self.stats
