about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2012-09-25 14:48:28 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2012-09-25 16:53:14 -0500
commit8ad11b9a9cf1de82bd7771306b42070b91417c11 (patch)
tree787fd5b6797608ae4b2207bcc042ed3825a9d8e7 /manual
parent7e2fca8dd22e3bd932581d6479b0c552deff00b6 (diff)
downloadglibc-8ad11b9a9cf1de82bd7771306b42070b91417c11.tar.gz
glibc-8ad11b9a9cf1de82bd7771306b42070b91417c11.tar.xz
glibc-8ad11b9a9cf1de82bd7771306b42070b91417c11.zip
Add __ppc_get_timebase_freq to ppc.h.
Diffstat (limited to 'manual')
-rw-r--r--manual/platform.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/manual/platform.texi b/manual/platform.texi
index 02b5c554ab..e387ff4cc9 100644
--- a/manual/platform.texi
+++ b/manual/platform.texi
@@ -26,3 +26,11 @@ different from the processor frequency.  More information is available in
 without requiring assistance from the operating system, so it is very
 efficient.
 @end deftypefun
+
+@deftypefun {uint64_t} __ppc_get_timebase_freq (void)
+Read the current frequency at which the Time Base Register is updated.
+
+This frequency is not related to the processor clock or the bus clock.
+It is also possible that this frequency is not constant.  More information is
+available in @cite{Power ISA 2.06b - Book II - Section 5.2}.
+@end deftypefun