Changeset 9399057 for src/main.cc
- Timestamp:
- Mar 20, 2019, 5:15:54 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ca59826
- Parents:
- 90b9e4b (diff), b5cff2b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r90b9e4b r9399057 65 65 using namespace std; 66 66 67 68 67 void NewPass(const char * const name) { 69 68 Stats::Heap::newPass(name); 70 69 using namespace Stats::Counters; 71 static auto pass_visitor_group = build<CounterGroup>("Pass Visitor"); 72 auto pass = build<CounterGroup>(name, pass_visitor_group); 73 pass_visitor_stats.depth = 0; 74 pass_visitor_stats.avg = build<AverageCounter<double>>("Average Depth", pass); 75 pass_visitor_stats.max = build<MaxCounter<double>>("Max Depth", pass); 70 71 { 72 static auto group = build<CounterGroup>("Pass Visitor"); 73 auto pass = build<CounterGroup>(name, group); 74 pass_visitor_stats.depth = 0; 75 pass_visitor_stats.avg = build<AverageCounter<double>>("Average Depth", pass); 76 pass_visitor_stats.max = build<MaxCounter<double>>("Max Depth", pass); 77 } 78 79 { 80 static auto group = build<CounterGroup>("Syntax Node"); 81 auto pass = build<CounterGroup>(name, group); 82 BaseSyntaxNode::new_nodes = build<SimpleCounter>("Allocs", pass); 83 } 76 84 } 77 85
Note: See TracChangeset
for help on using the changeset viewer.