summaryrefslogtreecommitdiffstats
path: root/gcc/timevar.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 20:40:47 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 20:40:47 +0000
commit43c422e57214e5b67c993d69542849a656127a37 (patch)
tree4a1f5a8d5497ba07bc73cfff5ce06aa0ef5b9c9c /gcc/timevar.c
parent13bb905ed4634b8d5d1251b301faa91e3f065268 (diff)
downloadppe42-gcc-43c422e57214e5b67c993d69542849a656127a37.tar.gz
ppe42-gcc-43c422e57214e5b67c993d69542849a656127a37.zip
* timevar.c (get_run_time): Remove function provided also by
libiberty. * timevar.h: Remove get_run_time declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/timevar.c')
-rw-r--r--gcc/timevar.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/timevar.c b/gcc/timevar.c
index 534001bfe10..d793029add9 100644
--- a/gcc/timevar.c
+++ b/gcc/timevar.c
@@ -1,5 +1,5 @@
/* Timing variables for measuring compiler performance.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2003 Free Software Foundation, Inc.
Contributed by Alex Samuel <samuel@codesourcery.com>
This file is part of GCC.
@@ -513,17 +513,6 @@ timevar_print (fp)
|| defined (HAVE_WALL_TIME) */
}
-/* Returns time (user + system) used so far by the compiler process,
- in microseconds. */
-
-long
-get_run_time ()
-{
- struct timevar_time_def total_elapsed;
- timevar_get (TV_TOTAL, &total_elapsed);
- return total_elapsed.user + total_elapsed.sys;
-}
-
/* Prints a message to stderr stating that time elapsed in STR is
TOTAL (given in microseconds). */
OpenPOWER on IntegriCloud