示例#1
0
文件: rvmprof.py 项目: cimarieta/usp
 def __init__(self):
     "NOT_RPYTHON: use _get_vmprof()"
     self._code_classes = set()
     self._gather_all_code_objs = lambda: None
     self._cleanup_()
     self._code_unique_id = 4
     self.cintf = cintf.setup()
示例#2
0
 def __init__(self):
     "use _get_vmprof()"
     self._code_classes = set()
     self._gather_all_code_objs = lambda: None
     self._cleanup_()
     self._code_unique_id = 4
     self.cintf = cintf.setup()
示例#3
0
文件: rvmprof.py 项目: Qointum/pypy
 def __init__(self):
     "NOT_RPYTHON: use _get_vmprof()"
     self._code_classes = set()
     self._gather_all_code_objs = lambda: None
     self._cleanup_()
     if sys.maxint == 2147483647:
         self._code_unique_id = 0  # XXX this is wrong, it won't work on 32bit
     else:
         self._code_unique_id = 0x7000000000000000
     self.cintf = cintf.setup()
示例#4
0
文件: rvmprof.py 项目: Qointum/pypy
 def __init__(self):
     "NOT_RPYTHON: use _get_vmprof()"
     self._code_classes = set()
     self._gather_all_code_objs = lambda: None
     self._cleanup_()
     if sys.maxint == 2147483647:
         self._code_unique_id = 0 # XXX this is wrong, it won't work on 32bit
     else:
         self._code_unique_id = 0x7000000000000000
     self.cintf = cintf.setup()