def METHOD_NAME(self, name, procs, db):
    # Run time on one task on machine with scale factor == 1.0.
    # This should depend on the total number of unique targets, which is
    # not known a priori.  Instead, we compute the total targets and reduce
    # this by some factor.
    if db is not None:
        props = self.name_split(name)
        entries = db.select_healpix_frame(
            {"pixel":props["pixel"],
             "nside":props["nside"]}
        )
        ntarget = np.sum([x["ntargets"] for x in entries])
        neff = 0.3 * ntarget
        # 2.5 seconds per targets
        tm = 1 + 2.5 * 0.0167 * neff
    else:
        tm = 60
    return tm