Changeset 753


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

Introducing the coremark benchmark

Location:
soft/giet_vm
Files:
15 added
3 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r739 r753  
    3737                 applications/shell/shell.py            \
    3838                 applications/sort/sort.py              \
    39                  applications/transpose/transpose.py
     39                 applications/transpose/transpose.py    \
     40                 applications/coremark/coremark.py
    4041
    4142# build the list of applications to be executed (used in the all rule)
     
    131132
    132133CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g -O2 \
    133                  -fno-delete-null-pointer-checks
     134                 -fno-delete-null-pointer-checks $(XCFLAGS)
    134135
    135136GIET_INCLUDE = -Igiet_boot    \
     
    197198        cd applications/sort         && $(MAKE) clean && cd ../..
    198199        cd applications/transpose    && $(MAKE) clean && cd ../..
     200        cd applications/coremark     && $(MAKE) clean && cd ../..
    199201
    200202########################################
    201203### delete disk image
    202204clean-disk:
    203         rm -rf hdd/
     205        rm -rf $(DISK_IMAGE)
    204206
    205207########################################
     
    223225        mmd -o -i $< ::/bin/sort          || true
    224226        mmd -o -i $< ::/bin/transpose     || true
     227        mmd -o -i $< ::/bin/coremark      || true
    225228        mmd -o -i $< ::/misc              || true
    226229        mmd -o -i $< ::/home              || true
     
    240243        mcopy -o -i $< applications/sort/appli.elf ::/bin/sort                || true
    241244        mcopy -o -i $< applications/transpose/appli.elf ::/bin/transpose      || true
     245        mcopy -o -i $< applications/coremark/appli.elf ::/bin/coremark        || true
    242246        mcopy -o -i $< images/images_128.raw ::/misc
    243247        mcopy -o -i $< images/philips_1024.raw ::/misc
     
    432436        $(MAKE) -C applications/transpose
    433437
     438########################################
     439### coremark compilation
     440applications/coremark/appli.elf: build/libs/libuser.a
     441        $(MAKE) -C applications/coremark
     442
  • soft/giet_vm/giet_kernel/sys_handler.c

    r733 r753  
    959959
    960960    // print exit message
    961     if ( string == NULL )
    962     {
    963         _printf("\n[GIET WARNING] Exit thread %x in application %s\n",
    964                 trdid , vspace[vsid].name );
    965     }
    966     else
     961    if ( string != NULL )
    967962    {
    968963        _printf("\n[GIET WARNING] Exit thread %x in vspace %s\n"
  • 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.