Ignore:
Timestamp:
Jan 6, 2016, 5:14:34 PM (8 years ago)
Author:
cfuguet
Message:

Introducing the coremark benchmark

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/genmap

    r737 r753  
    4343# - shell
    4444# - transpose
     45# - coremark
    4546###################################################################################
    4647
     
    162163                   default = False,
    163164                   help = 'map the "transpose" application for the GietVM' )
     165
     166parser.add_option( '--coremark', action = 'store_true', dest = 'coremark',     
     167                   default = False,
     168                   help = 'map the "coremark" application for the GietVM' )
    164169
    165170###################################################################################
     
    202207map_sort       = options.sort        # map "sort" application if True
    203208map_transpose  = options.transpose   # map "transpose" application if True
     209map_coremark   = options.coremark    # map "coremark" application if True
    204210
    205211###################################################################################
     
    290296    print '[genmap] application "transpose" will be loaded'
    291297
     298if ( map_coremark ):
     299    appli = __import__( 'coremark' )
     300    appli.extend( mapping )
     301    print '[genmap] application "coremark" will be loaded'
     302
    292303###################################################################################
    293304#   Generate xml file if required.
Note: See TracChangeset for help on using the changeset viewer.