def clear(self, exclude_list=None):
        """Clears the stats data (if needed).

        Args:
            exclude_list: A list of stats names whose data will not be cleared.
        """
        exclude_list = set(exclude_list or [])
        for name, stats in self.stats_pool.items():
            if name not in exclude_list:
                stats.clear()
Clears the stats data (if needed).

        Args:
            exclude_list: A list of stats names whose data will not be cleared.
        
runners/running_stats.py