How to use the gprof2dot.Object.__init__ function in gprof2dot

To help you get started, we’ve selected a few gprof2dot examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jrfonseca / gprof2dot / gprof2dot.py View on Github external
def __init__(self):
        Object.__init__(self)
        self.functions = set()
github jrfonseca / gprof2dot / gprof2dot.py View on Github external
def __init__(self, callee_id):
        Object.__init__(self)
        self.callee_id = callee_id
        self.ratio = None
        self.weight = None
github jrfonseca / gprof2dot / gprof2dot.py View on Github external
def __init__(self, id, name):
        Object.__init__(self)
        self.id = id
        self.name = name
        self.module = None
        self.process = None
        self.calls = {}
        self.called = None
        self.weight = None
        self.cycle = None
        self.filename = None
github jrfonseca / gprof2dot / gprof2dot.py View on Github external
def __init__(self):
        Object.__init__(self)
        self.functions = {}
        self.cycles = []