home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / MediaCoder / MediaCoder2011-R8-5188.exe / htdocs / mc / benchmark.xsl next >
Extensible Markup Language  |  2009-04-01  |  2KB  |  65 lines

  1. <?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource="stats.xml" --><!DOCTYPE xsl:stylesheet  [
  2.     <!ENTITY nbsp   " ">
  3.     <!ENTITY copy   "©">
  4.     <!ENTITY reg    "®">
  5.     <!ENTITY trade  "™">
  6.     <!ENTITY mdash  "—">
  7.     <!ENTITY ldquo  "“">
  8.     <!ENTITY rdquo  "”"> 
  9.     <!ENTITY pound  "£">
  10.     <!ENTITY yen    "¥">
  11.     <!ENTITY euro   "€">
  12. ]>
  13. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  14. <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  15. <xsl:template match="/stats">
  16.  
  17. <html xmlns="http://www.w3.org/1999/xhtml">
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  20. <title>Benchmarks</title>
  21. <link href="http://www.mediacoderhq.com/wizard/benchmark/sysinfo.css" rel="stylesheet" type="text/css"/>
  22. </head>
  23.  
  24. <body class="sysinfo">
  25. <xsl:if test="speed">
  26. <table width="100%" border="0" cellspacing="5">
  27.   <tr>
  28.     <td> </td>
  29.     <td width="150" title="Number of seconds that is elapsed during benchmarking">Time Elapsed</td>
  30.     <td><xsl:value-of select="totalElapsedTime"/> sec(s)</td>
  31.   </tr>
  32.   <tr>
  33.     <td> </td>
  34.     <td title="Total number of seconds of files encoded">Total Content Duration</td>
  35.     <td><xsl:value-of select="durationCount"/> sec(s)</td>
  36.   </tr>
  37.   <tr>
  38.     <td> </td>
  39.     <td title="Number of files encoded for benchmarking">Total Files</td>
  40.     <td><xsl:value-of select="processedFiles"/></td>
  41.   </tr>
  42.   <tr>
  43.     <td> </td>
  44.     <td title="Encoding time versus play time">Encoding Speed</td>
  45.     <td><xsl:value-of select="speed"/>x</td>
  46.   </tr>
  47.   <xsl:if test="fps">
  48.   <tr>
  49.     <td> </td>
  50.     <td title="Average encoding frame rate">Encoding Frame Rate</td>
  51.     <td><xsl:value-of select="fps"/> fps</td>
  52.   </tr>
  53.   </xsl:if>
  54. </table>
  55. </xsl:if>
  56. <xsl:if test="processedFiles='0'">
  57. <div align="center">
  58. Benchmark not yet performed
  59. </div>
  60. </xsl:if>
  61. </body>
  62. </html>
  63.  
  64. </xsl:template>
  65. </xsl:stylesheet>