From 602149dadba5e74e6de8b5a172a64b13dcce6f1d Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 22 Feb 2006 18:19:11 +0000 Subject: 2006-02-22 Frank Ch. Eigler * stapfuncs.5.in: Document get_cycles(). * testsuite/buildok/timestamp.stp: Build it and its friends. 2006-02-22 Frank Ch. Eigler * timestamp.stp (get_cycles): New function. --- stapfuncs.5.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stapfuncs.5.in') 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 -- cgit