def update(self):
        """
        Updates the disk usage statistics.

        :return None.
        """

        dirs_size = 0.0
        for directory in self._paths_to_monitor:
            dirs_size += self.get_dir_size(directory)

        self.total_usage = dirs_size

        Updates the disk usage statistics.

        :return None.
        
avalanche/evaluation/metrics/disk_usage.py