def calc_dict(tab, name):
    i = 0
    result = 0
    dic = {}
    while (i < max_exec):
        result += tab[i]
        i += 1
    result = (result / max_exec)
    dic['Name'] = name
    dic['Value'] = result
    return dic
def calc_dict(tab, name):
    i = 0
    result = 0
    dic = {}
    while (i < max_exec):
        result += tab[i]
        i += 1
    result = (result / max_exec)
    dic['Name'] = name
    dic['Value'] = result
    return dic