def get_skip_initial_samples_min(post_proc_args):
    """ Function iterates over a list of arguments of the form
    ["plot_all_individual_cdfs", "visualise_traceworkload", "skipmins_3"]
    searches for "skipmins_3" and returns 3 in this case.
    This parameter indicates how many minutes to skip from the ycsb results"""

    for p in post_proc_args:
        if p.startswith("skipmins"):
            skipmins = int(p.split("_")[1])
            return skipmins
    return 0