Changeset a2a0065


Ignore:
Timestamp:
Apr 23, 2019, 12:31:26 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
ce2e547
Parents:
d9f2874
Message:

Removed no longer needed server notification and tentative fix for plotting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rd9f2874 ra2a0065  
    2222                wrap([$class: 'TimestamperBuildWrapper']) {
    2323
    24                         notify_server(0)
    25 
    2624                        Settings = prepare_build()
    2725
     
    3432                                checkout()
    3533
    36                                 notify_server(0)
    37 
    3834                                build()
    3935
     
    5046                        BuildDir  = pwd tmp: true
    5147                        SrcDir    = pwd tmp: false
    52 
    53                         notify_server(45)
    5448                }
    5549        }
     
    183177
    184178                //Then publish the results
    185                 plot csvFileName: "cforall-${env.BRANCH_NAME}-compilation.csv",
    186                         csvSeries: [[file: "${BuildDir}/benchmark/compile.csv"]],
    187                         group: 'Compilation',
    188                         title: 'Compilation',
    189                         style: 'line'
    190 
    191                 plot csvFileName: 'cforall-${env.BRANCH_NAME}-ctxswitch.csv',
    192                         csvSeries: [[file: "${BuildDir}/benchmark/ctxswitch.csv"]],
    193                         group: 'Concurrency',
    194                         title: 'Context Switching',
    195                         style: 'line'
    196 
    197                 plot csvFileName: 'cforall-${env.BRANCH_NAME}-mutex.csv',
    198                         csvSeries: [[file: "${BuildDir}/benchmark/mutex.csv"]],
    199                         group: 'Concurrency',
    200                         title: 'Mutual Exclusion',
    201                         style: 'line'
    202 
    203                 plot csvFileName: 'cforall-${env.BRANCH_NAME}-signal.csv',
    204                         csvSeries: [[file: "${BuildDir}/benchmark/signal.csv"]],
    205                         group: 'Concurrency',
    206                         title: 'Internal and External Scheduling',
    207                         style: 'line'
     179                do_plot('compile', 'Compilation', 'Compilation')
     180
     181                do_plot('ctxswitch', 'Concurrency', 'Context Switching')
     182
     183                do_plot('mutex', 'Concurrency', 'Mutual Exclusion')
     184
     185                do_plot('signal', 'Concurrency', 'Internal and External Scheduling')
    208186        }
    209187}
     
    424402}
    425403
    426 def notify_server(int wait) {
    427         sh """curl --silent --show-error --data "wait=${wait}" -X POST https://cforall.uwaterloo.ca:8082/jenkins/notify > /dev/null || true"""
    428         return
    429 }
    430 
    431404def make_doc() {
    432405        def err = null
     
    443416        }
    444417}
     418
     419def do_plot(String file, String group, String title) {
     420        plot csvFileName: "cforall-${env.BRANCH_NAME}-${file}.csv",
     421                csvSeries: [[
     422                        file: "${BuildDir}/benchmark/${file}.csv",
     423                        exclusionValues: '',
     424                        displayTableFlag: false,
     425                        inclusionFlag: 'OFF',
     426                        url: ''
     427                ]],
     428                group: "${group}",
     429                title: "${title}",
     430                style: 'line',
     431                exclZero: false,
     432                keepRecords: false,
     433                logarithmic: false,
     434                numBuilds: '',
     435                useDescr: false,
     436                yaxis: '',
     437                yaxisMaximum: '',
     438                yaxisMinimum: ''
     439}
Note: See TracChangeset for help on using the changeset viewer.