]> git.saurik.com Git - bison.git/blame - lib/timevar.def
* lib/.cvsignore: Add charset.alias.
[bison.git] / lib / timevar.def
CommitLineData
46b8b6ce 1/* This file contains the definitions for timing variables used to -*- C -*-
1509d42f 2 measure run-time performance of the compiler.
46b8b6ce
PE
3 Copyright (C) 2002 Free Software Foundation, Inc.
4 Contributed by Akim Demaille <akim@freefriends.org>.
1509d42f 5
46b8b6ce 6 This file is part of Bison, the GNU Compiler Compiler.
1509d42f 7
46b8b6ce 8 Bison is free software; you can redistribute it and/or modify
1509d42f
AD
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
46b8b6ce 13 Bison 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
46b8b6ce 19 along with Bison; see the file COPYING. If not, write to
0fb669f9
PE
20 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
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. */
34DEFTIMEVAR (TV_TOTAL , "total time")
35
46b8b6ce
PE
36/* Time spent in the reader. */
37DEFTIMEVAR (TV_READER , "reader")
38DEFTIMEVAR (TV_SCANNING , "scanner")
39DEFTIMEVAR (TV_PARSING , "parser")
40
41/* Time spent handling the grammar. */
42DEFTIMEVAR (TV_REDUCE , "reducing the grammar")
43DEFTIMEVAR (TV_SETS , "computing the sets")
44DEFTIMEVAR (TV_LR0 , "LR(0)")
45DEFTIMEVAR (TV_LALR , "LALR(1)")
46DEFTIMEVAR (TV_CONFLICTS , "conflicts")
47
48/* Time spent outputing results. */
49DEFTIMEVAR (TV_REPORT , "outputing report")
50DEFTIMEVAR (TV_GRAPH , "outputing graph")
51DEFTIMEVAR (TV_ACTIONS , "parser action tables")
52DEFTIMEVAR (TV_PARSER , "outputing parser")
53DEFTIMEVAR (TV_M4 , "running m4")
54
55/* Time spent by freeing the memory :). */
56DEFTIMEVAR (TV_FREE , "freeing")