aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getruntime.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-10-16 02:55:31 +0000
committerDJ Delorie <dj@redhat.com>2001-10-16 02:55:31 +0000
commitba19b94f67aeec0722939ce17b4067c8fd05f4cc (patch)
treedb034680b326cb43083236abf9737518d7e1c78a /libiberty/getruntime.c
parenta3366758ce10f5bc06f1a128c4eb82cf2a82e455 (diff)
downloadgdb-ba19b94f67aeec0722939ce17b4067c8fd05f4cc.zip
gdb-ba19b94f67aeec0722939ce17b4067c8fd05f4cc.tar.gz
gdb-ba19b94f67aeec0722939ce17b4067c8fd05f4cc.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/getruntime.c')
-rw-r--r--libiberty/getruntime.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/getruntime.c b/libiberty/getruntime.c
index 4abfa83..f610c94 100644
--- a/libiberty/getruntime.c
+++ b/libiberty/getruntime.c
@@ -73,6 +73,18 @@ Boston, MA 02111-1307, USA. */
#endif
#endif
+/*
+
+@deftypefn Replacement long get_run_time ()
+
+Returns the time used so far, in microseconds. If possible, this is
+the time used by this process, else it is the elapsed time since the
+process started.
+
+@end deftypefn
+
+*/
+
long
get_run_time ()
{