def generate_competitor_configs(count):
    """ Returns a dict containing plugin configs for the given number of
    competitors. """
    to_return = []
    for i in range(count):
        competitor_config = {
            "log_name": "results/memory_copy_competitor_%d.json" % (i,),
            "filename": "./bin/memory_copy.so",
            "thread_count": 512,
            "block_count": 512,
            "additional_info": {
                "buffer_size": 1024 * 1024 * 1024,
                "copy_subdivisions": 1,
                "sync_every_copy": False
            }
        }
        to_return.append(competitor_config)
    return to_return