Changes in / [0d92e5c:61cfae2]


Ignore:
Files:
10 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r0d92e5c r61cfae2  
    106106
    107107def build() {
     108        // build_stage('Build', true) {
     109        //      // Build outside of the src tree to ease cleaning
     110        //      dir (BuildDir) {
     111        //              //Configure the conpilation (Output is not relevant)
     112        //              //Use the current directory as the installation target so nothing escapes the sandbox
     113        //              //Also specify the compiler by hand
     114        //              targets=""
     115        //              if( Settings.RunAllTests || Settings.RunBenchmark ) {
     116        //                      targets="--with-target-hosts='host:debug,host:nodebug'"
     117        //              } else {
     118        //                      targets="--with-target-hosts='host:debug'"
     119        //              }
     120
     121        //              sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet"
     122
     123        //              //Compile the project
     124        //              sh 'make -j 8 --no-print-directory'
     125        //      }
     126        // }
     127
    108128        debug = true
    109129        release = Settings.RunAllTests || Settings.RunBenchmark
     
    175195                dir (BuildDir) {
    176196                        //Append bench results
    177                         sh "make --no-print-directory -C benchmark jenkins arch=${Settings.Architecture.name}"
     197                        sh "make --no-print-directory -C benchmark jenkins"
    178198                }
    179199        }
     
    201221
    202222                //Then publish the results
    203                 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile'       , groupCompile    , 'Compilation')
    204                 do_plot(Settings.RunBenchmark && Settings.Publish, 'compile-diff'  , groupCompile    , 'Compilation Speed-Up')
    205                 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch'     , groupConcurrency, 'Context Switching')
    206                 do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch-diff', groupConcurrency, 'Context Switching Speed-Up')
    207                 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex'         , groupConcurrency, 'Mutual Exclusion')
    208                 do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex-diff'    , groupConcurrency, 'Mutual Exclusion Speed-Up')
    209                 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal'        , groupConcurrency, 'Internal and External Scheduling')
    210                 do_plot(Settings.RunBenchmark && Settings.Publish, 'signal-diff'   , groupConcurrency, 'Internal and External Scheduling Speed-Up')
     223                do_plot(Settings.RunBenchmark && Settings.Publish, 'compile'  , groupCompile    , 'Compilation')
     224                do_plot(Settings.RunBenchmark && Settings.Publish, 'ctxswitch', groupConcurrency, 'Context Switching')
     225                do_plot(Settings.RunBenchmark && Settings.Publish, 'mutex'    , groupConcurrency, 'Mutual Exclusion')
     226                do_plot(Settings.RunBenchmark && Settings.Publish, 'signal'   , groupConcurrency, 'Internal and External Scheduling')
    211227        }
    212228}
  • benchmark/Makefile.am

    r0d92e5c r61cfae2  
    5252# NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED
    5353repeats  = 5 # 31 for benchmarks
    54 arch     = x64
    5554skipcompile = no
    5655TIME_FORMAT = "%E"
     
    101100@DOifskipcompile@
    102101        @+make compile.csv
    103         @-+make compile.diff.csv
    104102@DOendif@
    105103        @+make ctxswitch.csv
    106         @-+make ctxswitch.diff.csv
    107104        @+make mutex.csv
    108         @-+make mutex.diff.csv
    109105        @+make signal.csv
    110         @-+make signal.diff.csv
    111106@DOifskipcompile@
    112         cat compile.csv
    113         -cat compile.diff.csv
     107        @cat compile.csv
    114108@DOendif@
    115         cat ctxswitch.csv
    116         -cat ctxswitch.diff.csv
    117         cat mutex.csv
    118         -cat mutex.diff.csv
    119         cat signal.csv
    120         -cat signal.diff.csv
     109        @cat ctxswitch.csv
     110        @cat mutex.csv
     111        @cat signal.csv
    121112
    122113compile.csv:
     
    152143        @+make waitfor-cfa2.runquiet >> $@
    153144        @$(srcdir)/fixcsv.sh $@
    154 
    155 %.diff.csv: %.csv
    156         @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false)
    157         @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@
    158 
    159145
    160146## =========================================================================================================
  • benchmark/Makefile.in

    r0d92e5c r61cfae2  
    398398# NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED
    399399repeats = 5 # 31 for benchmarks
    400 arch = x64
    401400skipcompile = no
    402401TIME_FORMAT = "%E"
     
    763762@DOifskipcompile@
    764763        @+make compile.csv
    765         @-+make compile.diff.csv
    766764@DOendif@
    767765        @+make ctxswitch.csv
    768         @-+make ctxswitch.diff.csv
    769766        @+make mutex.csv
    770         @-+make mutex.diff.csv
    771767        @+make signal.csv
    772         @-+make signal.diff.csv
    773768@DOifskipcompile@
    774         cat compile.csv
    775         -cat compile.diff.csv
     769        @cat compile.csv
    776770@DOendif@
    777         cat ctxswitch.csv
    778         -cat ctxswitch.diff.csv
    779         cat mutex.csv
    780         -cat mutex.diff.csv
    781         cat signal.csv
    782         -cat signal.diff.csv
     771        @cat ctxswitch.csv
     772        @cat mutex.csv
     773        @cat signal.csv
    783774
    784775compile.csv:
     
    815806        @$(srcdir)/fixcsv.sh $@
    816807
    817 %.diff.csv: %.csv
    818         @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false)
    819         @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@
    820 
    821808loop$(EXEEXT):
    822809        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
Note: See TracChangeset for help on using the changeset viewer.