comparison gcc/timevar.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Timing variables for measuring compiler performance. 1 /* Timing variables for measuring compiler performance.
2 Copyright (C) 2000, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2003, 2004, 2005, 2007, 2010
3 Free Software Foundation, Inc.
3 Contributed by Alex Samuel <samuel@codesourcery.com> 4 Contributed by Alex Samuel <samuel@codesourcery.com>
4 5
5 This file is part of GCC. 6 This file is part of GCC.
6 7
7 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
18 along with GCC; see the file COPYING3. If not see 19 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */ 20 <http://www.gnu.org/licenses/>. */
20 21
21 #include "config.h" 22 #include "config.h"
22 #include "system.h" 23 #include "system.h"
23 #ifdef HAVE_SYS_TIMES_H
24 # include <sys/times.h>
25 #endif
26 #ifdef HAVE_SYS_RESOURCE_H
27 #include <sys/resource.h>
28 #endif
29 #include "timevar.h" 24 #include "timevar.h"
30 25
31 #ifndef HAVE_CLOCK_T 26 #ifndef HAVE_CLOCK_T
32 typedef int clock_t; 27 typedef int clock_t;
33 #endif 28 #endif