Debian Codegraph @

po/ru/man3/__ppc_get_timebase.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Yuri Kozlov <[email protected]>, 2011-2013, 2015-2017, 2019.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
9 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
10 "Last-Translator: Yuri Kozlov <[email protected]>\n"
11 "Language-Team: Russian <[email protected]>\n"
12 "Language: ru\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
17 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
18 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, fuzzy, no-wrap
24 #| msgid " tb1 = __ppc_get_timebase();\n"
25 msgid "__ppc_get_timebase"
26 msgstr " tb1 = __ppc_get_timebase();\n"
27
28 #. type: TH
29 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-16"
32 msgstr "16 февраля 2026 г."
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Справочные страницы Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "НАИМЕНОВАНИЕ"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, fuzzy
52 #| msgid ""
53 #| "__ppc_get_timebase, __ppc_get_timebase_freq - get the current value\n"
54 #| " of the Time Base Register on Power architecture and its frequency.\n"
55 msgid ""
56 "__ppc_get_timebase, __ppc_get_timebase_freq - get the current value of the "
57 "Time Base Register on Power architecture and its frequency."
58 msgstr ""
59 "__ppc_get_timebase, __ppc_get_timebase_freq - возвращают текущее значение\n"
60 "базового регистра времени на архитектуре Power и его частоту\n"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<#include E<lt>sys/platform/ppc.hE<gt>>\n"
87 msgstr "B<#include E<lt>sys/platform/ppc.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, fuzzy, no-wrap
93 #| msgid "B<uint64_t __ppc_get_timebase_freq(void);>"
94 msgid ""
95 "B<uint64_t __ppc_get_timebase(void);>\n"
96 "B<uint64_t __ppc_get_timebase_freq(void);>\n"
97 msgstr "B<uint64_t __ppc_get_timebase_freq(void);>"
98
99 #. type: SH
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "DESCRIPTION"
104 msgstr "ОПИСАНИЕ"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "B<__ppc_get_timebase>() reads the current value of the Time Base Register "
111 "and returns its value, while B<__ppc_get_timebase_freq>() returns the "
112 "frequency in which the Time Base Register is updated."
113 msgstr ""
114 "Функция B<__ppc_get_timebase>() читает текущее значение базового регистра "
115 "времени (Time Base Register) и возвращает его значение, а "
116 "B<__ppc_get_timebase_freq>() возвращает частоту обновления базового регистра "
117 "времени."
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "The Time Base Register is a 64-bit register provided by Power Architecture "
124 "processors. It stores a monotonically incremented value that is updated at "
125 "a system-dependent frequency that may be different from the processor "
126 "frequency."
127 msgstr ""
128 "Базовый регистр времени — это 64-битный регистр процессоров с архитектурой "
129 "Power. В нём хранится монотонно увеличивающееся значение, которое "
130 "обновляется с зависимой от системы частотой, которая может отличаться от "
131 "частоты процессора."
132
133 #. type: SH
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid "RETURN VALUE"
138 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "B<__ppc_get_timebase>() returns a 64-bit unsigned integer that represents "
145 "the current value of the Time Base Register."
146 msgstr ""
147 "Функция B<__ppc_get_timebase>() возвращает 64-битное беззнаковое целое, "
148 "которое представляет собой текущее значение базового регистра времени."
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "B<__ppc_get_timebase_freq>() returns a 64-bit unsigned integer that "
155 "represents the frequency at which the Time Base Register is updated."
156 msgstr ""
157 "Функция B<__ppc_get_timebase_freq>() возвращает 64-битное беззнаковое целое, "
158 "которое представляет собой частоту, с которой изменяется базовый регистр "
159 "времени."
160
161 #. type: SH
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "STANDARDS"
166 msgstr "СТАНДАРТЫ"
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid "GNU."
172 msgstr "GNU."
173
174 #. type: SH
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "HISTORY"
179 msgstr "ИСТОРИЯ"
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, fuzzy, no-wrap
185 #| msgid " tb1 = __ppc_get_timebase();\n"
186 msgid "B<__ppc_get_timebase>()"
187 msgstr " tb1 = __ppc_get_timebase();\n"
188
189 #. commit d9dc34cd569bcfe714fe8c708e58c028106e8b2e
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid "glibc 2.16."
194 msgstr "glibc 2.16."
195
196 #. type: TP
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, fuzzy, no-wrap
200 #| msgid " tb1 = __ppc_get_timebase();\n"
201 msgid "B<__ppc_get_timebase_freq>()"
202 msgstr " tb1 = __ppc_get_timebase();\n"
203
204 #. commit 8ad11b9a9cf1de82bd7771306b42070b91417c11
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid "glibc 2.17."
209 msgstr "glibc 2.17."
210
211 #. type: SH
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "EXAMPLES"
216 msgstr "ПРИМЕРЫ"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "The following program will calculate the time, in microseconds, spent "
223 "between two calls to B<__ppc_get_timebase>()."
224 msgstr ""
225 "Следующая программа вычисляет время в микросекундах, прошедшее между двумя "
226 "вызовами B<__ppc_get_timebase>()."
227
228 #. type: SS
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "Program source"
233 msgstr "Исходный код программы"
234
235 #. type: Plain text
236 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid ""
239 "#include E<lt>inttypes.hE<gt>\n"
240 "#include E<lt>stdint.hE<gt>\n"
241 "#include E<lt>stdio.hE<gt>\n"
242 "#include E<lt>stdlib.hE<gt>\n"
243 "#include E<lt>sys/platform/ppc.hE<gt>\n"
244 "\\&\n"
245 "/* Maximum value of the Time Base Register: 2\\[ha]60 - 1.\n"
246 " Source: POWER ISA. */\n"
247 "#define MAX_TB 0xFFFFFFFFFFFFFFF\n"
248 "\\&\n"
249 "int\n"
250 "main(void)\n"
251 "{\n"
252 " uint64_t tb1, tb2, diff;\n"
253 " uint64_t freq;\n"
254 "\\&\n"
255 " freq = __ppc_get_timebase_freq();\n"
256 " printf(\"Time Base frequency = %w64u Hz\\[rs]n\", freq);\n"
257 "\\&\n"
258 " tb1 = __ppc_get_timebase();\n"
259 "\\&\n"
260 " // Do some stuff...\n"
261 "\\&\n"
262 " tb2 = __ppc_get_timebase();\n"
263 "\\&\n"
264 " if (tb2 E<gt> tb1) {\n"
265 " diff = tb2 - tb1;\n"
266 " } else {\n"
267 " /* Treat Time Base Register overflow. */\n"
268 " diff = (MAX_TB - tb2) + tb1;\n"
269 " }\n"
270 "\\&\n"
271 " printf(\"Elapsed time = %1.2f usecs\\[rs]n\",\n"
272 " (double) diff * 1000000 / freq);\n"
273 "\\&\n"
274 " exit(EXIT_SUCCESS);\n"
275 "}\n"
276 msgstr ""
277
278 #. SRC END
279 #. type: SH
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "SEE ALSO"
284 msgstr "СМОТРИТЕ ТАКЖЕ"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid "B<time>(2), B<usleep>(3)"
290 msgstr "B<time>(2), B<usleep>(3)"
291
292 #. type: TH
293 #: debian-trixie
294 #, no-wrap
295 msgid "2024-06-15"
296 msgstr "15 июня 2024 г."
297
298 #. type: TH
299 #: debian-trixie
300 #, no-wrap
301 msgid "Linux man-pages 6.9.1"
302 msgstr "Страницы руководства Linux 6.9.1"
303
304 #. type: Plain text
305 #: debian-trixie
306 msgid "Standard C library (I<libc>, I<-lc>)"
307 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
308
309 #. type: Plain text
310 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
311 #, no-wrap
312 msgid ""
313 "#include E<lt>inttypes.hE<gt>\n"
314 "#include E<lt>stdint.hE<gt>\n"
315 "#include E<lt>stdio.hE<gt>\n"
316 "#include E<lt>stdlib.hE<gt>\n"
317 "#include E<lt>sys/platform/ppc.hE<gt>\n"
318 "\\&\n"
319 "/* Maximum value of the Time Base Register: 2\\[ha]60 - 1.\n"
320 " Source: POWER ISA. */\n"
321 "#define MAX_TB 0xFFFFFFFFFFFFFFF\n"
322 "\\&\n"
323 "int\n"
324 "main(void)\n"
325 "{\n"
326 " uint64_t tb1, tb2, diff;\n"
327 " uint64_t freq;\n"
328 "\\&\n"
329 " freq = __ppc_get_timebase_freq();\n"
330 " printf(\"Time Base frequency = %\"PRIu64\" Hz\\[rs]n\", freq);\n"
331 "\\&\n"
332 " tb1 = __ppc_get_timebase();\n"
333 "\\&\n"
334 " // Do some stuff...\n"
335 "\\&\n"
336 " tb2 = __ppc_get_timebase();\n"
337 "\\&\n"
338 " if (tb2 E<gt> tb1) {\n"
339 " diff = tb2 - tb1;\n"
340 " } else {\n"
341 " /* Treat Time Base Register overflow. */\n"
342 " diff = (MAX_TB - tb2) + tb1;\n"
343 " }\n"
344 "\\&\n"
345 " printf(\"Elapsed time = %1.2f usecs\\[rs]n\",\n"
346 " (double) diff * 1000000 / freq);\n"
347 "\\&\n"
348 " exit(EXIT_SUCCESS);\n"
349 "}\n"
350 msgstr ""
351
352 #. type: TH
353 #: fedora-44 fedora-rawhide
354 #, no-wrap
355 msgid "2024-07-23"
356 msgstr "23 июля 2024 г."
357
358 #. type: TH
359 #: fedora-44 fedora-rawhide
360 #, no-wrap
361 msgid "Linux man-pages 6.13"
362 msgstr "Страницы руководства Linux 6.13"
363
364 #. type: TH
365 #: mageia-cauldron
366 #, no-wrap
367 msgid "2026-02-08"
368 msgstr "8 февраля 2026 г."
369
370 #. type: TH
371 #: mageia-cauldron
372 #, no-wrap
373 msgid "Linux man-pages 6.17"
374 msgstr "Страницы руководства Linux 6.17"
375
376 #. type: TH
377 #: opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "Linux man-pages (unreleased)"
380 msgstr "Страницы руководства Linux (не выпущены)"