Changeset 1bb9a9a
- Timestamp:
- Mar 4, 2019, 3:05:55 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 4f97937
- Parents:
- 874ffa4
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Stats.h
r874ffa4 r1bb9a9a 16 16 #pragma once 17 17 18 // Entry point for compiler analytics. 19 /* 20 The compiler currently supports 3 times of analytics: 21 - generic counters 22 - heap statistics 23 - timiing statistics 24 25 These can be enabled using the --stats option, to which a comma seperated list of options can be passed. 26 For more details see Stats.cc 27 28 Counters: 29 The counters are a generic tree of counters that print in a 2-column output format. 30 They can count maximums, averages, totals, etc. 31 32 Currently all counters are under the same enable block, this could be changed if needed. 33 34 Heap: 35 Measures the total calls malloc and free as the peak number of allocations per pass 36 37 Timing: 38 Comming soon 39 */ 40 41 18 42 #include "Common/Stats/Counter.h" 19 43 #include "Common/Stats/Heap.h" -
src/CompilationState.cc
r874ffa4 r1bb9a9a 38 38 codegenp = false, 39 39 prettycodegenp = false, 40 linemarks = false, 41 stats_heap = false, 42 stats_counters = false; 40 linemarks = false; 43 41 44 42 // Local Variables: // -
src/CompilationState.h
r874ffa4 r1bb9a9a 39 39 codegenp, 40 40 prettycodegenp, 41 linemarks, 42 stats_heap, 43 stats_counters; 41 linemarks; 44 42 45 43 // is the compiler building prelude or libcfa?
Note: See TracChangeset
for help on using the changeset viewer.