'Init AMP classe.'

def __init__(self, name=None, args=None):

    logger.debug('Init    {}    version    {}'.format(self.NAME, self.VERSION))
    if (name is None):
        self.amp_name = self.__class__.__module__[len('glances_'):]
    else:
        self.amp_name = name
    self.args = args
    self.configs = {}
    self.timer = Timer(0)
