Changeset fca6ca6
- Timestamp:
- Mar 6, 2019, 10:33:52 AM (5 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:
- 76d3ca6, 91d6584, b8665e3
- Parents:
- c101756
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Stats/Time.cc
rc101756 rfca6ca6 36 36 point_t global_begin; 37 37 38 size_t prevl = 0;39 size_t currl = 0;38 int prevl = 0; 39 int currl = 0; 40 40 41 41 template<typename T> … … 88 88 virtual void print(std::ostream & os) override { 89 89 if(currl > prevl) { 90 // std::cerr << "push last " << last << std::endl;91 90 parents.push(last); 92 } else if(currl < prevl) { 91 } 92 for(auto lvl = prevl - currl; lvl > 0; lvl--) { 93 93 parents.pop(); 94 // std::cerr << "pop, top = " << parents.top() << std::endl;95 94 } 96 // else { 97 last = end - begin; 98 // std::cerr << "last = " << last << "\t"; 99 // } 95 last = end - begin; 100 96 101 97 assert(finished);
Note: See TracChangeset
for help on using the changeset viewer.