'Build the sum message (only when filter is on) and add it to the ret dict
* ret: list of string where the message is added
* sep_char: define the line separation char
* mmm: display min, max, mean or current (if mmm=None)
* args: Glances args'

def __msg_curse_sum(self, ret, sep_char='_', mmm=None, args=None):

    ret.append(self.curse_new_line())
    if (mmm is None):
        ret.append(self.curse_add_line((sep_char * 69)))
        ret.append(self.curse_new_line())
    msg = '{:>6.1f}'.format(self.__sum_stats('cpu_percent', mmm=mmm))
    ret.append(self.curse_add_line(msg, decoration=self.__mmm_deco(mmm)))
    msg = '{:>6.1f}'.format(self.__sum_stats('memory_percent', mmm=mmm))
    ret.append(self.curse_add_line(msg, decoration=self.__mmm_deco(mmm)))
    if (('memory_info' in self.stats[0]) and (self.stats[0]['memory_info'] is not None) and (self.stats[0]['memory_info'] != '')):
        msg = '{:>6}'.format(self.auto_unit(self.__sum_stats('memory_info', indice=1, mmm=mmm), low_precision=False))
        ret.append(self.curse_add_line(msg, decoration=self.__mmm_deco(mmm), optional=True))
        msg = '{:>6}'.format(self.auto_unit(self.__sum_stats('memory_info', indice=0, mmm=mmm), low_precision=False))
        ret.append(self.curse_add_line(msg, decoration=self.__mmm_deco(mmm), optional=True))
    else:
        msg = '{:>6}'.format('')
        ret.append(self.curse_add_line(msg))
        ret.append(self.curse_add_line(msg))
    msg = '{:>6}'.format('')
    ret.append(self.curse_add_line(msg))
    msg = '    {:9}'.format('')
    ret.append(self.curse_add_line(msg))
    msg = '{:>5}'.format('')
    ret.append(self.curse_add_line(msg))
    msg = '{:>2}'.format('')
    ret.append(self.curse_add_line(msg))
    msg = '{:>10}'.format('')
    ret.append(self.curse_add_line(msg, optional=True))
    if (('io_counters' in self.stats[0]) and (mmm is None)):
        io_rs = int(((self.__sum_stats('io_counters', 0) - self.__sum_stats('io_counters', indice=2, mmm=mmm)) / self.stats[0]['time_since_update']))
        if (io_rs == 0):
            msg = '{:>6}'.format('0')
        else:
            msg = '{:>6}'.format(self.auto_unit(io_rs, low_precision=True))
        ret.append(self.curse_add_line(msg, decoration=self.__mmm_deco(mmm), optional=True, additional=True))
        io_ws = int(((self.__sum_stats('io_counters', 1) - self.__sum_stats('io_counters', indice=3, mmm=mmm)) / self.stats[0]['time_since_update']))
        if (io_ws == 0):
            msg = '{:>6}'.format('0')
        else:
            msg = '{:>6}'.format(self.auto_unit(io_ws, low_precision=True))
        ret.append(self.curse_add_line(msg, decoration=self.__mmm_deco(mmm), optional=True, additional=True))
    else:
        msg = '{:>6}'.format('')
        ret.append(self.curse_add_line(msg, optional=True, additional=True))
        ret.append(self.curse_add_line(msg, optional=True, additional=True))
    if (mmm is None):
        msg = '    <    {}'.format('current')
        ret.append(self.curse_add_line(msg, optional=True))
    else:
        msg = '    <    {}'.format(mmm)
        ret.append(self.curse_add_line(msg, optional=True))
        msg = "    ('M'    to    reset)"
        ret.append(self.curse_add_line(msg, optional=True))
