def add_function(self, function):
        if function.id in self.functions:
            sys.stderr.write('warning: overwriting function %s (id %s)\n' % (function.name, str(function.id)))
        self.functions[function.id] = function
dataset/ETHPy150Open binaryage/firelogger.py/gprof2dot.py/Profile.add_function/original