Example #1
0
 def count_ops(self, opnum, kind=Counters.OPS):
     from rpython.jit.metainterp.resoperation import OpHelpers
     self.counters[kind] += 1
     if OpHelpers.is_call(opnum) and kind == Counters.RECORDED_OPS:
         self.calls += 1
Example #2
0
 def count_ops(self, opnum, kind=Counters.OPS):
     from rpython.jit.metainterp.resoperation import OpHelpers
     self.counters[kind] += 1
     if OpHelpers.is_call(opnum) and kind == Counters.RECORDED_OPS:
         self.calls += 1