def get_ends(self, app_phase, function):
    name = ((app_phase + '::') + function)
    return [begin_and_end[1] for begin_and_end in self.begins_and_ends_ms.get(name, [])]
def get_ends(self, app_phase, function):
    name = ((app_phase + '::') + function)
    return [begin_and_end[1] for begin_and_end in self.begins_and_ends_ms.get(name, [])]