def GetOrGenerateJobFileString(job_file_path, scenario_strings,
                               against_device, disk,
                               io_depths, working_set_size, block_size):

  use_user_jobfile = job_file_path or not scenario_strings

  if use_user_jobfile:
    remove_filename = against_device
    return ProcessedJobFileString(job_file_path or data.ResourcePath('fio.job'),
                                  remove_filename)
  else:
    if against_device:
      filename = disk.GetDevicePath()
    else:
      # Since we pass --directory to fio, we must use relative file
      # paths or get an error.
      filename = DEFAULT_TEMP_FILE_NAME

    return GenerateJobFileString(filename, scenario_strings,
                                 io_depths, working_set_size, block_size)
Apply `func` to each element in `iterable`, collecting the results
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_benchmarks/fio_benchmark.py/GetOrGenerateJobFileString--crossover with--dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/multiprocessing/pool.py/Pool.map