| OLD | NEW |
| 1 //===- subzero/src/IceTimerTree.h - Pass timer defs -------------*- C++ -*-===// | 1 //===- subzero/src/IceTimerTree.h - Pass timer defs -------------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file declares the TimerTree class, which allows flat and | 10 // This file declares the TimerTree class, which allows flat and |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 void update(bool UpdateCounts); | 64 void update(bool UpdateCounts); |
| 65 static double timestamp(); | 65 static double timestamp(); |
| 66 IceString Name; | 66 IceString Name; |
| 67 double FirstTimestamp; | 67 double FirstTimestamp; |
| 68 double LastTimestamp; | 68 double LastTimestamp; |
| 69 uint64_t StateChangeCount; | 69 uint64_t StateChangeCount; |
| 70 // IDsIndex maps a symbolic timer name to its integer ID. | 70 // IDsIndex maps a symbolic timer name to its integer ID. |
| 71 std::map<IceString, TimerIdT> IDsIndex; | 71 std::map<IceString, TimerIdT> IDsIndex; |
| 72 std::vector<IceString> IDs; // indexed by TimerIdT | 72 std::vector<IceString> IDs; // indexed by TimerIdT |
| 73 std::vector<TimerTreeNode> Nodes; // indexed by TTindex | 73 std::vector<TimerTreeNode> Nodes; // indexed by TTindex |
| 74 std::vector<double> LeafTimes; // indexed by TimerIdT | 74 std::vector<double> LeafTimes; // indexed by TimerIdT |
| 75 std::vector<size_t> LeafCounts; // indexed by TimerIdT | 75 std::vector<size_t> LeafCounts; // indexed by TimerIdT |
| 76 TTindex StackTop; | 76 TTindex StackTop; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // end of namespace Ice | 79 } // end of namespace Ice |
| 80 | 80 |
| 81 #endif // SUBZERO_SRC_ICETIMERTREE_H | 81 #endif // SUBZERO_SRC_ICETIMERTREE_H |
| OLD | NEW |