Changeset 05f4b85 for src/benchmark


Ignore:
Timestamp:
Feb 1, 2018, 9:26:34 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
cc344be
Parents:
b2b44d8
Message:

Jenkins benchmark can now skipcompilation on demand and pin programs to core 1

Location:
src/benchmark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/Makefile.am

    rb2b44d8 r05f4b85  
    2323STATS    = ${TOOLSDIR}stat.py
    2424repeats  = 30
     25skipcompile = no
    2526TIME_FORMAT = "%E"
    2627PRINT_FORMAT = %20s: #Comments needed for spacing
     
    4344%.runquiet :
    4445        @+make $(basename $@)
    45         @./a.out
     46        @taskset -c 1 ./a.out
    4647        @rm -f a.out
    4748
     
    5960        @echo -e '\t"githash": "'${githash}'",'
    6061        @echo -e '\t"arch": "'   ${arch}   '",'
     62@DOifskipcompile@
    6163        @echo -e '\t"compile": {'
    6264        @+make compile TIME_FORMAT='%e,' PRINT_FORMAT='\t\t\"%s\" :'
    6365        @echo -e '\t\t"dummy" : {}'
    6466        @echo -e '\t},'
     67@DOendif@
    6568        @echo -e '\t"ctxswitch": {'
    6669        @echo -en '\t\t"coroutine":'
  • src/benchmark/Makefile.in

    rb2b44d8 r05f4b85  
    253253STATS = ${TOOLSDIR}stat.py
    254254repeats = 30
     255skipcompile = no
    255256TIME_FORMAT = "%E"
    256257PRINT_FORMAT = %20s: #Comments needed for spacing
     
    459460%.runquiet :
    460461        @+make $(basename $@)
    461         @./a.out
     462        @taskset -c 1 ./a.out
    462463        @rm -f a.out
    463464
     
    473474        @echo -e '\t"githash": "'${githash}'",'
    474475        @echo -e '\t"arch": "'   ${arch}   '",'
     476@DOifskipcompile@
    475477        @echo -e '\t"compile": {'
    476478        @+make compile TIME_FORMAT='%e,' PRINT_FORMAT='\t\t\"%s\" :'
    477479        @echo -e '\t\t"dummy" : {}'
    478480        @echo -e '\t},'
     481@DOendif@
    479482        @echo -e '\t"ctxswitch": {'
    480483        @echo -en '\t\t"coroutine":'
Note: See TracChangeset for help on using the changeset viewer.