summaryrefslogtreecommitdiffstats
path: root/stapfuncs.5.in
diff options
context:
space:
mode:
authorfche <fche>2006-02-22 18:19:11 +0000
committerfche <fche>2006-02-22 18:19:11 +0000
commit602149dadba5e74e6de8b5a172a64b13dcce6f1d (patch)
tree8a1cd62702e6aa7e8366efd1fb64690074e0b224 /stapfuncs.5.in
parent03d569d3e8ee6f405b8e8489eaaf325c774b822d (diff)
downloadsystemtap-steved-602149dadba5e74e6de8b5a172a64b13dcce6f1d.tar.gz
systemtap-steved-602149dadba5e74e6de8b5a172a64b13dcce6f1d.tar.xz
systemtap-steved-602149dadba5e74e6de8b5a172a64b13dcce6f1d.zip
2006-02-22 Frank Ch. Eigler <fche@elastic.org>
* stapfuncs.5.in: Document get_cycles(). * testsuite/buildok/timestamp.stp: Build it and its friends. 2006-02-22 Frank Ch. Eigler <fche@elastic.org> * timestamp.stp (get_cycles): New function.
Diffstat (limited to 'stapfuncs.5.in')
-rw-r--r--stapfuncs.5.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/stapfuncs.5.in b/stapfuncs.5.in
index 04ada825..e1337993 100644
--- a/stapfuncs.5.in
+++ b/stapfuncs.5.in
@@ -94,6 +94,9 @@ Return 1 if string s1 contains string s2, returns 0 otherwise.
.SS TIMESTAMP
.TP
+get_cycles:long ()
+Return the processor cycle counter value, or 0 if unavailable.
+.TP
gettimeofday_us:long ()
Return the number of microseconds since the UNIX epoch.
.TP