-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial translation in hrtime/hrtime-performancecounter
- Loading branch information
1 parent
8159468
commit 86abd5a
Showing
3 changed files
with
176 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
reference/hrtime/hrtime-performancecounter/getfrequency.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
65
reference/hrtime/hrtime-performancecounter/gettickssince.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
--> |