示例#1
0
 def get(self):
     _yappi._pause()
     self.clear()
     try:
         _yappi.enum_thread_stats(self._enumerator)
         result = super(YThreadStats, self).get()
     finally:
         _yappi._resume()
     return result
示例#2
0
文件: yappi.py 项目: nirs/yappi
 def get(self):
     _yappi._pause()
     self.clear()
     try:
         _yappi.enum_thread_stats(self._enumerator)
         result = super(YThreadStats, self).get()
     finally:
         _yappi._resume()
     return result
示例#3
0
    def get(self):
        _yappi.enum_thread_stats(self._enumerator)

        return super(YThreadStats, self).get()
示例#4
0
 def get(self):
     _yappi.enum_thread_stats(self._enumerator)
     
     return super(YThreadStats, self).get()
示例#5
0
def enum_thread_stats(fenum):
    _yappi.enum_thread_stats(fenum)
示例#6
0
def enum_thread_stats(fenum):
    _yappi.enum_thread_stats(fenum)