예제 #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()