[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/hrtime/_examples.xml?=
From:       Anatol_Belski <ab () php ! net>
Date:       2014-04-27 9:04:52
Message-ID: svn-ab-1398589492-333433-1669440534 () svn ! php ! net
[Download RAW message or body]

ab                                       Sun, 27 Apr 2014 09:04:52 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=333433

Log:
set some missing props

Changed paths:
    UU  phpdoc/en/trunk/reference/hrtime/examples.xml

Modified: phpdoc/en/trunk/reference/hrtime/examples.xml
===================================================================
--- phpdoc/en/trunk/reference/hrtime/examples.xml	2014-04-27 09:01:58 UTC (rev 333432)
+++ phpdoc/en/trunk/reference/hrtime/examples.xml	2014-04-27 09:04:52 UTC (rev 333433)
@@ -1,62 +1,62 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 321987 $ -->
-<chapter xml:id="hrtime.examples" xmlns="http://docbook.org/ns/docbook">
- &reftitle.examples;
- <section xml:id="hrtime.example.basic">
-  <title>Basic usage</title>
-  <para>
-   The example illustrates the basic StopWatch class usage
-  </para>
-  <example>
-   <title>Measure several code blocks execution and get the total</title>
-   <programlisting role="php">
-<![CDATA[
-<?php
-
-$c = new HRTime\StopWatch;
-
-$c->start();
-/* measure this code block execution */
-for ($i = 0; $i < 1024*1024; $i++);
-$c->stop();
-$elapsed0 = $c->getLastElapsedTime(HRTime\Unit::NANOSECOND);
-
-/* measurement is not running here*/
-for ($i = 0; $i < 1024*1024; $i++);
-
-$c->start();
-/* measure this code block execution */
-for ($i = 0; $i < 1024*1024; $i++);
-$c->stop();
-$elapsed1 = $c->getLastElapsedTime(HRTime\Unit::NANOSECOND);
-
-$elapsed_total = $c->getElapsedTime(HRTime\Unit::NANOSECOND);
-
-?>
-]]>
-   </programlisting>
-  </example>
- </section>
-</chapter>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
-
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<chapter xml:id="hrtime.examples" xmlns="http://docbook.org/ns/docbook">
+ &reftitle.examples;
+ <section xml:id="hrtime.example.basic">
+  <title>Basic usage</title>
+  <para>
+   The example illustrates the basic StopWatch class usage
+  </para>
+  <example>
+   <title>Measure several code blocks execution and get the total</title>
+   <programlisting role="php">
+<![CDATA[
+<?php
+
+$c = new HRTime\StopWatch;
+
+$c->start();
+/* measure this code block execution */
+for ($i = 0; $i < 1024*1024; $i++);
+$c->stop();
+$elapsed0 = $c->getLastElapsedTime(HRTime\Unit::NANOSECOND);
+
+/* measurement is not running here*/
+for ($i = 0; $i < 1024*1024; $i++);
+
+$c->start();
+/* measure this code block execution */
+for ($i = 0; $i < 1024*1024; $i++);
+$c->stop();
+$elapsed1 = $c->getLastElapsedTime(HRTime\Unit::NANOSECOND);
+
+$elapsed_total = $c->getElapsedTime(HRTime\Unit::NANOSECOND);
+
+?>
+]]>
+   </programlisting>
+  </example>
+ </section>
+</chapter>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+


Property changes on: phpdoc/en/trunk/reference/hrtime/examples.xml
___________________________________________________________________
Added: svn:eol-style
   + native
Added: svn:keywords
   + Author Date Id Revision URL



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic