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