(self)
| 1409 | break |
| 1410 | |
| 1411 | def parse(self): |
| 1412 | # read lookahead |
| 1413 | self.readline() |
| 1414 | |
| 1415 | profile = self.profile |
| 1416 | profile[SAMPLES] = 0 |
| 1417 | while not self.eof(): |
| 1418 | self.parse_event() |
| 1419 | |
| 1420 | # compute derived data |
| 1421 | profile.validate() |
| 1422 | profile.find_cycles() |
| 1423 | profile.ratio(TIME_RATIO, SAMPLES) |
| 1424 | profile.call_ratios(SAMPLES2) |
| 1425 | profile.integrate(TOTAL_TIME_RATIO, TIME_RATIO) |
| 1426 | |
| 1427 | return profile |
| 1428 | |
| 1429 | def parse_event(self): |
| 1430 | if self.eof(): |
nothing calls this directly
no test coverage detected