def METHOD_NAME(sampling, n_population, n_samples):
    gc.collect()
    # start time
    t_start = datetime.now()
    sampling(n_population, n_samples)
    delta = datetime.now() - t_start
    # stop time
    time = compute_time(t_start, delta)
    return time