

def _trace(self, event, args):
    (origin, target) = args
    self.pause(id(origin))
    self.resume(id(target))

dataset/ETHPy150Open what-studio/profiling/profiling/tracing/timers.py GreenletTimer._trace/original