Skip to content

Commit

Permalink
initial translation in hrtime/hrtime-performancecounter
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardolara committed Sep 1, 2024
1 parent 8159468 commit 86abd5a
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 0 deletions.
57 changes: 57 additions & 0 deletions reference/hrtime/hrtime-performancecounter/getfrequency.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 18f9cbcbc404fa3161104e4f3969531f686457af Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->

<refentry xml:id="hrtime-performancecounter.getfrequency" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>HRTime\PerformanceCounter::getFrequency</refname>
<refpurpose>Frequência do temporizador em tiques por segundo</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>int</type><methodname>HRTime\PerformanceCounter::getFrequency</methodname>
<void />
</methodsynopsis>
<para>
Retorna a frequência do temporizador em tiques por segundo. Este valor é constante após a
inicialização em quase todos os sistemas operacionais.
</para>

</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Retorna um &integer; indicando a frequência do temporizador.
</para>
</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
-->
54 changes: 54 additions & 0 deletions reference/hrtime/hrtime-performancecounter/getticks.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 6ccdace91b727bd0f32214d1670a5e765fd28a09 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->

<refentry xml:id="hrtime-performancecounter.getticks" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>HRTime\PerformanceCounter::getTicks</refname>
<refpurpose>Tiques atuais do sistema</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>int</type><methodname>HRTime\PerformanceCounter::getTicks</methodname>
<void />
</methodsynopsis>
<para>
Retorna a contagem de tiques.
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Retorna um &integer; indicando a contagem de tiques.
</para>
</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
-->
65 changes: 65 additions & 0 deletions reference/hrtime/hrtime-performancecounter/gettickssince.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 18f9cbcbc404fa3161104e4f3969531f686457af Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->

<refentry xml:id="hrtime-performancecounter.gettickssince" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>HRTime\PerformanceCounter::getTicksSince</refname>
<refpurpose>Tiques decorridos desde um valor informado</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>int</type><methodname>HRTime\PerformanceCounter::getTicksSince</methodname>
<methodparam><type>int</type><parameter>start</parameter></methodparam>
</methodsynopsis>
<para>
Retorna a contagem de tiques decorridos desde o valor de início informado.
</para>

</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>start</parameter></term>
<listitem>
<para>
Valor de início da contagem dos tiques.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Retorna um &integer; indicando a contagem de tiques.
</para>
</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
-->

0 comments on commit 86abd5a

Please sign in to comment.