def get_benchmark_types(campaign):
    """Get of benchmarks referenced in the configuration

    :return: benchmarks
    :rtype: string generator
    """
    for benchmarks in campaign.benchmarks.values():
        for name, benchmark in benchmarks.items():
            if name != 'sbatch':  # exclude special sbatch name
                yield benchmark.type
Get of benchmarks referenced in the configuration

    :return: benchmarks
    :rtype: string generator