svn: /phpdoc/ja/trunk/reference/misc/functions/ hrtime.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Sat, 08 Feb 2020 00:25:19 +0000

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

Log:
newly added hrtime doc translations

Changed paths:
    A   phpdoc/ja/trunk/reference/misc/functions/hrtime.xml

Added: phpdoc/ja/trunk/reference/misc/functions/hrtime.xml
===================================================================
--- phpdoc/ja/trunk/reference/misc/functions/hrtime.xml	                        (rev 0)
+++ phpdoc/ja/trunk/reference/misc/functions/hrtime.xml	2020-02-08 00:25:19 UTC (rev 349166)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 346582 Maintainer: mumumu Status: ready -->
+<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.hrtime">
+ <refnamediv>
+  <refname>hrtime</refname>
+  <refpurpose>システムの高精度な時刻を取得する</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>mixed</type><methodname>hrtime</methodname>
+   <methodparam choice="opt"><type>bool</type><parameter>get_as_number</parameter><initializer>&false;</initializer></methodparam>
+  </methodsynopsis>
+  <simpara>
+   任意のタイミングから計測したシステムの高精度な時刻を取得します。
+   返されたタイムスタンプは単調であり、調整できません。
+  </simpara>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>get_as_number</parameter></term>
+     <listitem>
+      <para>
+       高精度の時刻を <type>array</type> で取得するか、数値で取得するかを指定します。
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   <parameter>get_as_number</parameter> が &false; の場合は、
+   [秒, ナノ秒] の形式で数値の配列を返します。
+   &true; の場合、ナノ秒を (64ビットプラットフォームの場合) <type>integer</type>
+   または <type>float</type> (32ビットプラットフォームの場合) として返します。
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>hrtime</function> の使い方</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+echo hrtime(true), PHP_EOL;
+print_r(hrtime());
+?>
+]]>
+    </programlisting>
+    &example.outputs.similar;
+    <screen>
+<![CDATA[
+10444739687370679
+Array
+(
+    [0] => 10444739
+    [1] => 687464812
+)
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <simplelist>
+   <member>The <link linkend="book.hrtime">High resolution timing</link> 拡張機能</member>
+  </simplelist>
+ </refsect1>
+
+</refentry>
+
+<!-- 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/ja/trunk/reference/misc/functions/hrtime.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.