From 86abd5a50cfb7e61419c3cd4a94874180e8f0001 Mon Sep 17 00:00:00 2001 From: leonardolara Date: Sun, 1 Sep 2024 19:33:28 -0300 Subject: [PATCH] initial translation in hrtime/hrtime-performancecounter --- .../getfrequency.xml | 57 ++++++++++++++++ .../hrtime-performancecounter/getticks.xml | 54 +++++++++++++++ .../gettickssince.xml | 65 +++++++++++++++++++ 3 files changed, 176 insertions(+) create mode 100644 reference/hrtime/hrtime-performancecounter/getfrequency.xml create mode 100644 reference/hrtime/hrtime-performancecounter/getticks.xml create mode 100644 reference/hrtime/hrtime-performancecounter/gettickssince.xml diff --git a/reference/hrtime/hrtime-performancecounter/getfrequency.xml b/reference/hrtime/hrtime-performancecounter/getfrequency.xml new file mode 100644 index 000000000..2dc9b1ed6 --- /dev/null +++ b/reference/hrtime/hrtime-performancecounter/getfrequency.xml @@ -0,0 +1,57 @@ + + + + + + HRTime\PerformanceCounter::getFrequency + Frequência do temporizador em tiques por segundo + + + + &reftitle.description; + + public static intHRTime\PerformanceCounter::getFrequency + + + + Retorna a frequência do temporizador em tiques por segundo. Este valor é constante após a + inicialização em quase todos os sistemas operacionais. + + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Retorna um &integer; indicando a frequência do temporizador. + + + + + + + diff --git a/reference/hrtime/hrtime-performancecounter/getticks.xml b/reference/hrtime/hrtime-performancecounter/getticks.xml new file mode 100644 index 000000000..942333fff --- /dev/null +++ b/reference/hrtime/hrtime-performancecounter/getticks.xml @@ -0,0 +1,54 @@ + + + + + + HRTime\PerformanceCounter::getTicks + Tiques atuais do sistema + + + + &reftitle.description; + + public static intHRTime\PerformanceCounter::getTicks + + + + Retorna a contagem de tiques. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Retorna um &integer; indicando a contagem de tiques. + + + + + + diff --git a/reference/hrtime/hrtime-performancecounter/gettickssince.xml b/reference/hrtime/hrtime-performancecounter/gettickssince.xml new file mode 100644 index 000000000..dda44c67c --- /dev/null +++ b/reference/hrtime/hrtime-performancecounter/gettickssince.xml @@ -0,0 +1,65 @@ + + + + + + HRTime\PerformanceCounter::getTicksSince + Tiques decorridos desde um valor informado + + + + &reftitle.description; + + public static intHRTime\PerformanceCounter::getTicksSince + intstart + + + Retorna a contagem de tiques decorridos desde o valor de início informado. + + + + + + &reftitle.parameters; + + + start + + + Valor de início da contagem dos tiques. + + + + + + + + &reftitle.returnvalues; + + Retorna um &integer; indicando a contagem de tiques. + + + + + + +