From dc49857b7c13a7d4fdd7b258827de941f4e3d297 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 27 Apr 2014 09:04:52 +0000 Subject: [PATCH] set some missing props git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333433 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/hrtime/examples.xml | 124 +++++++++++++++++----------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/reference/hrtime/examples.xml b/reference/hrtime/examples.xml index 8674cd5a32..f2a7453645 100644 --- a/reference/hrtime/examples.xml +++ b/reference/hrtime/examples.xml @@ -1,62 +1,62 @@ - - - - &reftitle.examples; -
- Basic usage - - The example illustrates the basic StopWatch class usage - - - Measure several code blocks execution and get the total - -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); - -?> -]]> - - -
-
- - - + + + + &reftitle.examples; +
+ Basic usage + + The example illustrates the basic StopWatch class usage + + + Measure several code blocks execution and get the total + +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); + +?> +]]> + + +
+
+ + +