CSIT-1342: Edit the static content for CSIT-1810 report
[csit.git] / docs / report / vpp_performance_tests / packet_latency_graphs / vts.rst
index 15d5309..26d1e6b 100644 (file)
@@ -1,3 +1,33 @@
+
+.. raw:: latex
+
+    \clearpage
+
+.. raw:: html
+
+    <script type="text/javascript">
+
+        function getDocHeight(doc) {
+            doc = doc || document;
+            var body = doc.body, html = doc.documentElement;
+            var height = Math.max( body.scrollHeight, body.offsetHeight,
+                html.clientHeight, html.scrollHeight, html.offsetHeight );
+            return height;
+        }
+
+        function setIframeHeight(id) {
+            var ifrm = document.getElementById(id);
+            var doc = ifrm.contentDocument? ifrm.contentDocument:
+                ifrm.contentWindow.document;
+            ifrm.style.visibility = 'hidden';
+            ifrm.style.height = "10px"; // reset to minimal height ...
+            // IE opt. for bing/msn needs a bit added or scrollbar appears
+            ifrm.style.height = getDocHeight( doc ) + 4 + "px";
+            ifrm.style.visibility = 'visible';
+        }
+
+    </script>
+
 VTS
 ===
 
@@ -9,24 +39,28 @@ a.k.a. VPP data plane thread(s), and their physical CPU core(s)
 placement.
 
 CSIT source code for the test cases used for plots can be found in
-`CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/vts?h=rls1807>`_.
+`CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/vts?h=rls1810>`_.
+
+.. raw:: latex
+
+    \clearpage
 
 3n-hsw-x520
 ~~~~~~~~~~~
 
-64b-1t1c
---------
+114b-1t1c
+---------
 
 .. raw:: html
 
     <center><b>
 
-:index:`Latency: vts-3n-hsw-x520-64b-1t1c-ndr`
+:index:`Packet Latency: vts-3n-hsw-x520-114b-1t1c-ndr`
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-64b-1t1c-ndr-lat.html"></iframe>
+    <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-1t1c-ndr-lat.html"></iframe>
     <p><br><br></p>
     </center>
 
@@ -35,23 +69,27 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-64b-1t1c-ndr-lat}
-            \label{fig:vts-3n-hsw-x520-64b-1t1c-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-114b-1t1c-ndr-lat}
+            \label{fig:vts-3n-hsw-x520-114b-1t1c-ndr-lat}
     \end{figure}
 
-64b-2t2c
---------
+.. raw:: latex
+
+    \clearpage
+
+114b-2t2c
+---------
 
 .. raw:: html
 
     <center><b>
 
-:index:`Latency: vts-3n-hsw-x520-64b-2t2c-ndr`
+:index:`Packet Latency: vts-3n-hsw-x520-114b-2t2c-ndr`
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-64b-2t2c-ndr-lat.html"></iframe>
+    <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-2t2c-ndr-lat.html"></iframe>
     <p><br><br></p>
     </center>
 
@@ -60,6 +98,6 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-64b-2t2c-ndr-lat}
-            \label{fig:vts-3n-hsw-x520-64b-2t2c-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-114b-2t2c-ndr-lat}
+            \label{fig:vts-3n-hsw-x520-114b-2t2c-ndr-lat}
     \end{figure}