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 /// \file | 10 /// \file |
11 /// This file declares the TimerTree class, which allows flat and cumulative | 11 /// \brief Declares the TimerTree class, which allows flat and cumulative |
12 /// execution time collection of call chains. | 12 /// execution time collection of call chains. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #ifndef SUBZERO_SRC_ICETIMERTREE_H | 16 #ifndef SUBZERO_SRC_ICETIMERTREE_H |
17 #define SUBZERO_SRC_ICETIMERTREE_H | 17 #define SUBZERO_SRC_ICETIMERTREE_H |
18 | 18 |
19 // TODO(jpp): Refactor IceDefs. | 19 // TODO(jpp): Refactor IceDefs. |
20 #include "IceDefs.h" | 20 #include "IceDefs.h" |
21 #include "IceTimerTree.def" | 21 #include "IceTimerTree.def" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 std::vector<IceString> IDs; /// indexed by TimerIdT | 89 std::vector<IceString> IDs; /// indexed by TimerIdT |
90 std::vector<TimerTreeNode> Nodes; /// indexed by TTindex | 90 std::vector<TimerTreeNode> Nodes; /// indexed by TTindex |
91 std::vector<double> LeafTimes; /// indexed by TimerIdT | 91 std::vector<double> LeafTimes; /// indexed by TimerIdT |
92 std::vector<size_t> LeafCounts; /// indexed by TimerIdT | 92 std::vector<size_t> LeafCounts; /// indexed by TimerIdT |
93 TTindex StackTop = 0; | 93 TTindex StackTop = 0; |
94 }; | 94 }; |
95 | 95 |
96 } // end of namespace Ice | 96 } // end of namespace Ice |
97 | 97 |
98 #endif // SUBZERO_SRC_ICETIMERTREE_H | 98 #endif // SUBZERO_SRC_ICETIMERTREE_H |
OLD | NEW |