Example #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
Example #2
0
File: yappi.py Project: 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
Example #3
0
    def get(self):
        _yappi.enum_thread_stats(self._enumerator)

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