Debian Codegraph @

templates/man3/__ppc_get_timebase.3.pot

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