Example #1
0
def main():
    '''Create txt file with format cmd line args then results'''

    sys.stdout = open(sys.argv[1], 'w')
    tnames = ['gcc.trace', 'bzip.trace']
    frame_nums = [8, 32, 64, 128]
    algs = ['clock', 'nru', 'rand', 'opt']

    for alg in algs:
        for tname in tnames:
            for num in frame_nums:
                cmd = ['vmsim', '-n', str(num), '-a', alg, tname]
                vmsim.parse_cmd(cmd)
Example #2
0
def main():
    '''Create txt file with format cmd line args then results'''
    

    sys.stdout = open(sys.argv[1],'w')
    tnames = ['bzip.trace']
    frame_nums = [8,32,64,128]
    refresh_rates = [300,500,750,1000,2000]
    
    for refresh_rate in refresh_rates:
        for tname in tnames:
            for num in frame_nums:
                cmd = ['vmsim', '-n',str(num),'-a','nru', '-r',refresh_rate, tname]
                vmsim.parse_cmd(cmd)
Example #3
0
def main():
    '''Create txt file with format cmd line args then results'''
    

    sys.stdout = open(sys.argv[1],'w')
    tnames = ['gcc.trace','bzip.trace']
    frame_nums = [8,32,64,128]
    algs = ['clock','nru','rand','opt']
    
    for alg in algs:
        for tname in tnames:
            for num in frame_nums:
                cmd = ['vmsim', '-n',str(num),'-a',alg, tname]
                vmsim.parse_cmd(cmd)
Example #4
0
def main():
    '''Create txt file with format cmd line args then results'''

    sys.stdout = open(sys.argv[1], 'w')
    tnames = ['bzip.trace']
    frame_nums = [8, 32, 64, 128]
    refresh_rates = [300, 500, 750, 1000, 2000]

    for refresh_rate in refresh_rates:
        for tname in tnames:
            for num in frame_nums:
                cmd = [
                    'vmsim', '-n',
                    str(num), '-a', 'nru', '-r', refresh_rate, tname
                ]
                vmsim.parse_cmd(cmd)