def _update_stats(self, runnable, inc=1):

        self._task_stats['count'] += inc

        if runnable.type in self._task_stats:
            self._task_stats[runnable.type]['count'] += inc
        else:
            self._task_stats[runnable.type] = {'count': inc}

        if runnable.name:
            if runnable.name in self._task_stats[runnable.type]:
                self._task_stats[runnable.type][runnable.name]['count'] += inc
            else:
                self._task_stats[runnable.type][runnable.name] = {'count': inc}
Called after forking to start the actor's life.
dataset/ETHPy150Open marineam/nagcat/python/nagcat/scheduler.py/Scheduler._update_stats--crossover with--dataset/ETHPy150Open quantmind/pulsar/pulsar/async/actor.py/Actor.start