Commit 2b35ac13 authored by Jan Kiene's avatar Jan Kiene
Browse files

add rate swithing WMOPS graph + cleanup

parent 5afc6bf3
Loading
Loading
Loading
Loading
+21 −26
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@
 <script type="text/javascript" src="graphs_wmops_flc_level_1.js"></script>
 <script type="text/javascript" src="graphs_wmops_flc_level_2.js"></script>
 <script type="text/javascript" src="graphs_wmops_flc_level_3.js"></script>
 <script type="text/javascript" src="graphs_wmops_flc_rate_sw.js"></script>
 <!-- <script type="text/javascript" src="graphs_wmops_basop.js"></script>-->
 <script type="text/javascript" src="graphs_wmops_flc_perOP.js"></script>
 <!-- <script type="text/javascript" src="graphs_wmops_basop_perOP.js"></script>-->
@@ -113,17 +114,22 @@

      <div class="graph-container">
        <h2>Level 1 (13.2 - 80 kbps)</h2>
        <div id="wmops-graph-level1"></div>
        <div id="wmops-graph-level_1"></div>
      </div>

      <div class="graph-container">
        <h2>Level 2 (96 - 192 kbps)</h2>
        <div id="wmops-graph-level2"></div>
        <div id="wmops-graph-level_2"></div>
      </div>

      <div class="graph-container">
        <h2>Level 3 (256 - 512 kbps)</h2>
        <div id="wmops-graph-level3"></div>
        <div id="wmops-graph-level_3"></div>
      </div>

      <div class="graph-container">
        <h2>Rate switching (level-independent)</h2>
        <div id="wmops-graph-rate_sw"></div>
      </div>

      <div class="graph-container" style="clear: both;">
@@ -532,37 +538,22 @@
              }

              if( item.series.id == "worst case enc/dec" ){ 
                text += "Worst case enc: " + graph.runs[x].worstCaseEnc + "<br>";
                text += "Worst case dec: " + graph.runs[x].worstCaseDec + "<br>";
                text += "Encoder OP: " + graph.runs[x].worstCaseEnc + "<br>";
                text += "Decoder OP: " + graph.runs[x].worstCaseDec + "<br>";
              }
              if( item.series.id == "worst case codec" ){ 
                text += "Worst case codec: " + graph.runs[x].worstCaseCodec + "<br>";
                text += "OP: " + graph.runs[x].worstCaseCodec + "<br>";
              }
              if( item.series.id == "worst case enc" ){ 
                text += "Worst case enc: " + graph.runs[x].worstCaseEnc + "<br>";
                text += "OP: " + graph.runs[x].worstCaseEnc + "<br>";
              }
              if( item.series.id == "worst case dec" ){ 
                text += "Worst case dec: " + graph.runs[x].worstCaseDec + "<br>";
              }
              if( item.series.id == "worst case enc/dec rs" ){ 
                text += "Worst case enc rateswitching: " + graph.runs[x].worstCaseEncRs + "<br>";
                text += "Worst case dec rateswitching: " + graph.runs[x].worstCaseDecRs + "<br>";
              }
              if( item.series.id == "worst case codec rs" ){ 
                text += "Worst case codec rateswitching: " + graph.runs[x].worstCaseCodecRs + "<br>";
                text += "OP: " + graph.runs[x].worstCaseDec + "<br>";
              }
              if( item.series.id == "worst case enc rs" ){ 
                text += "Worst case enc rateswitching: " + graph.runs[x].worstCaseEncRs + "<br>";
              }
              if( item.series.id == "worst case dec rs" ){ 
                text += "Worst case dec rateswitching: " + graph.runs[x].worstCaseDecRs + "<br>";
              }


              text += "<br>"
              text += "Revision: " + graph.runs[x].revision + "<br>";
              text += "Date: "  + graph.runs[x].fullDate + "<br>";
              text += "Fixpoint scal. fac. to reach 138 WMOPS: " + graph.runs[x].fixpointScalingFac + "<br><br>";
              text += "<a href=\"logs/" + graph.runs[x].logFile + "\">Logfile</a><br>";
            }

@@ -573,15 +564,19 @@

    $(document).ready(function () {
        var max = get_max_y_val_for_plotting(Graphs_WMOPS_level_1.wmops_worstcase.displays, 50);
        drawGraph($("#wmops-graph-level1"), Graphs_WMOPS_level_1.wmops_worstcase, max);
        drawGraph($("#wmops-graph-level_1"), Graphs_WMOPS_level_1.wmops_worstcase, max);
    });
    $(document).ready(function () {
        var max = get_max_y_val_for_plotting(Graphs_WMOPS_level_2.wmops_worstcase.displays, 50);
        drawGraph($("#wmops-graph-level2"), Graphs_WMOPS_level_2.wmops_worstcase, max);
        drawGraph($("#wmops-graph-level_2"), Graphs_WMOPS_level_2.wmops_worstcase, max);
    });
    $(document).ready(function () {
        var max = get_max_y_val_for_plotting(Graphs_WMOPS_level_3.wmops_worstcase.displays, 50);
        drawGraph($("#wmops-graph-level3"), Graphs_WMOPS_level_3.wmops_worstcase, max);
        drawGraph($("#wmops-graph-level_3"), Graphs_WMOPS_level_3.wmops_worstcase, max);
    });
    $(document).ready(function () {
        var max = get_max_y_val_for_plotting(Graphs_WMOPS_rate_sw.wmops_worstcase.displays, 50);
        drawGraph($("#wmops-graph-rate_sw"), Graphs_WMOPS_rate_sw.wmops_worstcase, max);
    });

    // var refData  = Graphs_WMOPS.wmops_worstcase.displays[0];
+8 −3
Original line number Diff line number Diff line
@@ -49,17 +49,22 @@ hr {
  background-color: #FF8000;
  border-radius: 20px;
}
#wmops-graph-level1 {
#wmops-graph-level_1 {
 height:500px;
 width:1600px;
 float:left;
}
#wmops-graph-level2 {
#wmops-graph-level_2 {
 height:500px;
 width:1600px;
 float:left;
}
#wmops-graph-level3 {
#wmops-graph-level_3 {
 height:500px;
 width:1600px;
 float:left;
}
#wmops-graph-rate_sw {
 height:500px;
 width:1600px;
 float:left;