def transfer_rate(self, metric, elapsed_time, byte_xfer, sample_rate=None):
        if byte_xfer:
            return self.timing(metric,
                               elapsed_time * 1000 / byte_xfer * 1000,
                               sample_rate)
dataset/ETHPy150Open openstack/swift/swift/common/utils.py/StatsdClient.transfer_rate/original