diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2012-09-25 14:48:28 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2012-09-25 16:53:14 -0500 |
commit | 8ad11b9a9cf1de82bd7771306b42070b91417c11 (patch) | |
tree | 787fd5b6797608ae4b2207bcc042ed3825a9d8e7 /manual/platform.texi | |
parent | 7e2fca8dd22e3bd932581d6479b0c552deff00b6 (diff) | |
download | glibc-8ad11b9a9cf1de82bd7771306b42070b91417c11.tar.gz glibc-8ad11b9a9cf1de82bd7771306b42070b91417c11.tar.xz glibc-8ad11b9a9cf1de82bd7771306b42070b91417c11.zip |
Add __ppc_get_timebase_freq to ppc.h.
Diffstat (limited to 'manual/platform.texi')
-rw-r--r-- | manual/platform.texi | 8 |
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 |