def METHOD_NAME(queue, transfer_type, block_size, timer_factory=None):
    """Measures one-sided bandwidth."""
    transfer = transfer_type(queue, block_size)
    return block_size/_get_time(queue, transfer.do, timer_factory=timer_factory)