timevar.def 2.5 KB

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