2

Is there a way (even a hack) with which I can be notified when a eventloop (gevent) selects a greenlet to run. I want to be able to profile the time taken by my greenlets, each time they run and yield. I can call a callback from within my method, but there are multiple entry points and exit points and the code is complicated. So I am looking for something from the selectors.

Akilesh
  • 1,252
  • 1
  • 9
  • 16

0 Answers0