]>
Commit | Line | Data |
---|---|---|
46b8b6ce | 1 | /* This file contains the definitions for timing variables used to -*- C -*- |
1509d42f | 2 | measure run-time performance of the compiler. |
7d424de1 | 3 | |
34136e65 | 4 | Copyright (C) 2002, 2007, 2009-2012 Free Software Foundation, Inc. |
7d424de1 | 5 | |
46b8b6ce | 6 | Contributed by Akim Demaille <akim@freefriends.org>. |
1509d42f | 7 | |
46b8b6ce | 8 | This file is part of Bison, the GNU Compiler Compiler. |
1509d42f | 9 | |
f16b0819 | 10 | This program is free software: you can redistribute it and/or modify |
1509d42f | 11 | it under the terms of the GNU General Public License as published by |
f16b0819 PE |
12 | the Free Software Foundation, either version 3 of the License, or |
13 | (at your option) any later version. | |
1509d42f | 14 | |
f16b0819 | 15 | This program is distributed in the hope that it will be useful, |
1509d42f AD |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | GNU General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU General Public License | |
f16b0819 | 21 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
1509d42f AD |
22 | |
23 | /* This file contains timing variable definitions, used by timevar.h | |
24 | and timevar.c. | |
25 | ||
26 | Syntax: | |
27 | ||
28 | DEFTIMEVAR (id, name) | |
29 | ||
30 | where ID is the enumeral value used to identify the timing | |
31 | variable, and NAME is a character string describing its purpose. */ | |
32 | ||
33 | /* The total execution time. */ | |
34 | DEFTIMEVAR (TV_TOTAL , "total time") | |
35 | ||
46b8b6ce PE |
36 | /* Time spent in the reader. */ |
37 | DEFTIMEVAR (TV_READER , "reader") | |
38 | DEFTIMEVAR (TV_SCANNING , "scanner") | |
39 | DEFTIMEVAR (TV_PARSING , "parser") | |
40 | ||
41 | /* Time spent handling the grammar. */ | |
42 | DEFTIMEVAR (TV_REDUCE , "reducing the grammar") | |
43 | DEFTIMEVAR (TV_SETS , "computing the sets") | |
44 | DEFTIMEVAR (TV_LR0 , "LR(0)") | |
45 | DEFTIMEVAR (TV_LALR , "LALR(1)") | |
db34f798 JD |
46 | DEFTIMEVAR (TV_IELR_PHASE1 , "IELR(1) Phase 1") |
47 | DEFTIMEVAR (TV_IELR_PHASE2 , "IELR(1) Phase 2") | |
48 | DEFTIMEVAR (TV_IELR_PHASE3 , "IELR(1) Phase 3") | |
49 | DEFTIMEVAR (TV_IELR_PHASE4 , "IELR(1) Phase 4") | |
46b8b6ce PE |
50 | DEFTIMEVAR (TV_CONFLICTS , "conflicts") |
51 | ||
52 | /* Time spent outputing results. */ | |
53 | DEFTIMEVAR (TV_REPORT , "outputing report") | |
54 | DEFTIMEVAR (TV_GRAPH , "outputing graph") | |
41d7a5f2 | 55 | DEFTIMEVAR (TV_XML , "outputing xml") |
46b8b6ce PE |
56 | DEFTIMEVAR (TV_ACTIONS , "parser action tables") |
57 | DEFTIMEVAR (TV_PARSER , "outputing parser") | |
58 | DEFTIMEVAR (TV_M4 , "running m4") | |
59 | ||
60 | /* Time spent by freeing the memory :). */ | |
61 | DEFTIMEVAR (TV_FREE , "freeing") |