MCPcopy Create free account
hub / github.com/ActiveState/code / parse

Method parse

recipes/Python/578138_gprof2dotpy/recipe-578138.py:2160–2174  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2158 callee = caller
2159
2160 def parse(self):
2161 profile = self.profile
2162 profile[SAMPLES] = 0
2163
2164 self.parse_symbols()
2165 self.parse_callstacks()
2166
2167 # Compute derived events
2168 profile.validate()
2169 profile.find_cycles()
2170 profile.ratio(TIME_RATIO, SAMPLES)
2171 profile.call_ratios(SAMPLES2)
2172 profile.integrate(TOTAL_TIME_RATIO, TIME_RATIO)
2173
2174 return profile
2175
2176
2177class AQtimeTable:

Callers

nothing calls this directly

Calls 7

parse_symbolsMethod · 0.95
parse_callstacksMethod · 0.95
find_cyclesMethod · 0.80
ratioMethod · 0.80
call_ratiosMethod · 0.80
validateMethod · 0.45
integrateMethod · 0.45

Tested by

no test coverage detected