Home
last modified time | relevance | path

Searched refs:_greenlet_tracer (Results 1 – 2 of 2) sorted by relevance

/dports/devel/py-gevent/gevent-21.8.0/src/gevent/tests/
H A Dtest___monitor.py72 prev = self.pmt._greenlet_tracer.previous_trace_function
84 self.assertEqual(gettrace(), self.pmt._greenlet_tracer)
219 self.assertEqual(gettrace(), self.pmt._greenlet_tracer)
222 self.pmt._greenlet_tracer('event', ('args',))
229 self.pmt._greenlet_tracer('unknown', None)
231 self.assertIsNone(self.pmt._greenlet_tracer.active_greenlet)
236 self.pmt._greenlet_tracer('switch', (origin, target))
238 self.assertIs(target, self.pmt._greenlet_tracer.active_greenlet)
241 self.pmt._greenlet_tracer('unknown', ())
243 self.assertIsNone(self.pmt._greenlet_tracer.active_greenlet)
[all …]
/dports/devel/py-gevent/gevent-21.8.0/src/gevent/
H A D_monitor.py87 _greenlet_tracer = None variable in PeriodicMonitoringThread
96 self._greenlet_tracer = GreenletTracer()
170 self._greenlet_tracer.kill()
229 did_block = self._greenlet_tracer.did_block_hub(hub)
234 report = self._greenlet_tracer.did_block_hub_report(
249 self._greenlet_tracer.ignore_current_greenlet_blocking()
252 self._greenlet_tracer.monitor_current_greenlet_blocking()