def packets_per_second(self, interval):
        if interval == 0:
            return 0
        return round(float(self.count)/interval, 2)
dataset/ETHPy150Open serverdensity/sd-agent/aggregator.py/Aggregator.packets_per_second/original