def e(logs, f, texname, v):
    print('##########')
    print(v)
    logs = np.array([parseLog(log, v) for log in logs])
    print(logs)
    avgs = logs.mean()
    print('avg=', avgs)
    print('median=', np.median(logs))
    print('max=', logs.max())
    print('min=', logs.min())
    print('var=', np.var(logs))
    print('std=', np.std(logs))
    print(printMacro(f'{texname}stack', int(avgs)), file=f)
    f.flush()
def e(logs, f, texname, v):
    print('##########')
    print(v)
    logs = np.array([parseLog(log, v) for log in logs])
    print(logs)
    avgs = logs.mean()
    print('avg=', avgs)
    print('median=', np.median(logs))
    print('max=', logs.max())
    print('min=', logs.min())
    print('var=', np.var(logs))
    print('std=', np.std(logs))
    print(printMacro(f'{texname}stack', int(avgs)), file=f)
    f.flush()