def add(self, name, **kwargs):
        """Adds a new SingleStats to the dictionary.

        Additional arguments include:

        log_format: The numerical log format. Use `time` to log time duration.
            (default: `.3f`)
        log_name: The name shown in the log. `None` means to directly use the
            stats name. (default: None)
        log_tail: The tailing log message. (default: None)
        log_strategy: Strategy to log this stats. `CURRENT`, `AVERAGE`, and
            `SUM` are supported. (default: `AVERAGE`)
        """
        if name in self.stats_pool:
            return
        self.stats_pool[name] = SingleStats(name, **kwargs)
Adds a new SingleStats to the dictionary.

        Additional arguments include:

        log_format: The numerical log format. Use `time` to log time duration.
            (default: `.3f`)
        log_name: The name shown in the log. `None` means to directly use the
            stats name. (default: None)
        log_tail: The tailing log message. (default: None)
        log_strategy: Strategy to log this stats. `CURRENT`, `AVERAGE`, and
            `SUM` are supported. (default: `AVERAGE`)
        
runners/running_stats.py