def print_percentile_stats(stats):
    console_logger.info("Percentage of the requests completed within given times")
    console_logger.info(('Name', '# reqs', '50%', '66%', '75%', '80%', '90%', '95%', '98%', '99%', '100%') % (" %-" + str(STATS_NAME_WIDTH) + "s %8s %6s %6s %6s %6s %6s %6s %6s %6s %6s"))
    console_logger.info("-" * (80 + STATS_NAME_WIDTH))
    for key in sorted(stats.iterkeys()):
        r = stats[key]
        if r.response_times:
            console_logger.info(r.percentile())
    console_logger.info("-" * (80 + STATS_NAME_WIDTH))
    
    total_stats = global_stats.aggregated_stats()
    if total_stats.response_times:
        console_logger.info(total_stats.percentile())
    console_logger.info("")
dataset/ETHPy150Open locustio/locust/locust/stats.py/print_percentile_stats/swapped operands of `%`