Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Side by Side Diff: src/IceTimerTree.h

Issue 1202253002: Includes module header first. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes All Subzero includes to match LLVM style guide. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
11 // cumulative execution time collection of call chains. 11 // cumulative execution time collection of call chains.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_ICETIMERTREE_H 15 #ifndef SUBZERO_SRC_ICETIMERTREE_H
16 #define SUBZERO_SRC_ICETIMERTREE_H 16 #define SUBZERO_SRC_ICETIMERTREE_H
17 17
18 // TODO(jpp): Refactor IceDefs.
19 #include "IceDefs.h"
18 #include "IceTimerTree.def" 20 #include "IceTimerTree.def"
19 21
20 namespace Ice { 22 namespace Ice {
21 23
22 class TimerStack { 24 class TimerStack {
23 TimerStack() = delete; 25 TimerStack() = delete;
24 TimerStack &operator=(const TimerStack &) = delete; 26 TimerStack &operator=(const TimerStack &) = delete;
25 27
26 // Timer tree index type. A variable of this type is used to access 28 // Timer tree index type. A variable of this type is used to access
27 // an interior, not-necessarily-leaf node of the tree. 29 // an interior, not-necessarily-leaf node of the tree.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 std::vector<IceString> IDs; // indexed by TimerIdT 89 std::vector<IceString> IDs; // indexed by TimerIdT
88 std::vector<TimerTreeNode> Nodes; // indexed by TTindex 90 std::vector<TimerTreeNode> Nodes; // indexed by TTindex
89 std::vector<double> LeafTimes; // indexed by TimerIdT 91 std::vector<double> LeafTimes; // indexed by TimerIdT
90 std::vector<size_t> LeafCounts; // indexed by TimerIdT 92 std::vector<size_t> LeafCounts; // indexed by TimerIdT
91 TTindex StackTop = 0; 93 TTindex StackTop = 0;
92 }; 94 };
93 95
94 } // end of namespace Ice 96 } // end of namespace Ice
95 97
96 #endif // SUBZERO_SRC_ICETIMERTREE_H 98 #endif // SUBZERO_SRC_ICETIMERTREE_H
OLDNEW
« src/IceTargetLoweringARM32.cpp ('K') | « src/IceThreading.cpp ('k') | src/IceTimerTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698