示例#1
0
文件: jitprof.py 项目: zcxowwww/pypy
 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
示例#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