Ignore:
Timestamp:
Sep 3, 2014, 2:41:18 PM (10 years ago)
Author:
meunier
Message:

Trunk:

  • Updating scripts in tsar_generic_xbar in order to reflect recent changes in counter definitions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_xbar/scripts/run_simus.py

    r779 r790  
    1515rerun_stats = False
    1616use_omp = False
    17 protocol = 'rwt'
     17protocol = 'dhccp'
    1818
    1919#apps = [ 'histogram', 'mandel', 'filter', 'radix_ga', 'fft_ga', 'kmeans' ]
     
    3232# to come: 'barnes', 'fmm', 'ocean', 'raytrace', 'radiosity', 'waters', 'watern'
    3333
    34 all_protocols = [ 'dhccp', 'rwt', 'mesi' ]
     34all_protocols = [ 'dhccp', 'rwt', 'hmesi' ]
    3535
    3636top_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..")
     
    9292        sys.exit()
    9393
    94 if protocol == "mesi":
    95     if mesi_dir == "":
    96         print "*** Error: variable mesi_dir not defined in config file"
    97         sys.exit()
    98     if not os.path.exists(mesi_dir):
    99         print "*** Error: variable mesi_dir does not define a valid path"
     94if protocol == "hmesi":
     95    if hmesi_dir == "":
     96        print "*** Error: variable hmesi_dir not defined in config file"
     97        sys.exit()
     98    if not os.path.exists(hmesi_dir):
     99        print "*** Error: variable hmesi_dir does not define a valid path"
    100100        sys.exit()
    101101
     
    177177    elif protocol == "rwt":
    178178        arch_dir = rwt_dir
    179     elif protocol == "mesi":
    180         archi_dir = mesi_dir
     179    elif protocol == "hmesi":
     180        arch_dir = hmesi_dir
    181181    else:
    182182        assert(False)
Note: See TracChangeset for help on using the changeset viewer.