def METHOD_NAME(algod, rounds=10):
    status = algod.status()
    ba = msgpack.loads(algod.block_info(status['last-round']-rounds, response_format='msgpack'), strict_map_key=False)
    bb = msgpack.loads(algod.block_info(status['last-round'], response_format='msgpack'), strict_map_key=False)
    ra = ba['block']['rnd']
    rb = bb['block']['rnd']
    assert(rb - ra == rounds)
    tca = ba['block'].get('tc',0)
    tcb = bb['block'].get('tc',0)
    tsa = ba['block']['ts']
    tsb = bb['block']['ts']
    dt = tsb-tsa
    dtxn = tcb-tca
    tps = dtxn/dt
    logger.debug('(b[%d].TimeStamp %d) - (b[%d].TimeStamp %d) = %.1f seconds', ra, tsa, rb, tsb, dt)
    logger.debug('(b[%d].TxnCounter %d) - (b[%d].TxnCounter %d) = %d txns', ra, tca, rb, tcb, dtxn)
    return tps