news: update
[bison.git] / lib / timevar.def
blobef7be2003083c39ea5be50cae427e4fcf33de307
1 /* This file contains the definitions for timing variables used to -*- C -*-
2 measure run-time performance of the compiler.
4 Copyright (C) 2002, 2007, 2009-2015, 2018-2021 Free Software
5 Foundation, Inc.
7 Contributed by Akim Demaille <akim@freefriends.org>.
9 This file is part of Bison, the GNU Compiler Compiler.
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <https://www.gnu.org/licenses/>. */
24 /* This file contains timing variable definitions, used by timevar.h
25 and timevar.c.
27 Syntax:
29 DEFTIMEVAR (id, name)
31 where ID is the enum value used to identify the timing
32 variable, and NAME is a character string describing its purpose. */
34 /* The total execution time. */
35 DEFTIMEVAR (tv_total , "total time")
37 /* Time spent in the reader. */
38 DEFTIMEVAR (tv_reader , "reader")
39 DEFTIMEVAR (tv_scanning , "scanner")
40 DEFTIMEVAR (tv_parsing , "parser")
42 /* Time spent handling the grammar. */
43 DEFTIMEVAR (tv_reduce , "reducing the grammar")
44 DEFTIMEVAR (tv_sets , "computing the sets")
45 DEFTIMEVAR (tv_lr0 , "LR(0)")
46 DEFTIMEVAR (tv_lalr , "LALR(1)")
47 DEFTIMEVAR (tv_ielr_phase1 , "IELR(1) Phase 1")
48 DEFTIMEVAR (tv_ielr_phase2 , "IELR(1) Phase 2")
49 DEFTIMEVAR (tv_ielr_phase3 , "IELR(1) Phase 3")
50 DEFTIMEVAR (tv_ielr_phase4 , "IELR(1) Phase 4")
51 DEFTIMEVAR (tv_conflicts , "conflicts")
53 /* Time spent outputting results. */
54 DEFTIMEVAR (tv_report , "outputting report")
55 DEFTIMEVAR (tv_graph , "outputting graph")
56 DEFTIMEVAR (tv_html , "outputting html")
57 DEFTIMEVAR (tv_xml , "outputting xml")
58 DEFTIMEVAR (tv_actions , "parser action tables")
59 DEFTIMEVAR (tv_parser , "outputting parser")
60 DEFTIMEVAR (tv_m4 , "running m4")
62 /* Time spent by freeing the memory :). */
63 DEFTIMEVAR (tv_free , "freeing")